Sign inSign up

csociety/greeter

By csociety

•Updated about 4 years ago

Greeter is a multi stage docker build go application.

Image
0

151

csociety/greeter repository overview

⁠Greeter

  • Greeter is a multi stage docker build go application.

⁠Executing the application

⁠Help Menu
  • Run the docker image with parameter -h
docker run greeter:latest -h
⁠Running in webserver mode
  • Run the docker image by exposing the specifying the container port and external port 8080 along with the parameter -web.listen-address
docker run -p 8080:<Container Port> greeter:latest -web.listen-address :<Container Port>
  • The application will be reachable over localhost:8080⁠

  • You will get an output: Hello from Chirayu Kapoor!

⁠Running in CLI mode
  • Run the docker image with parameter -cli-only
docker run greeter:latest -cli-only
  • You will get an output: Hello from Chirayu Kapoor!

Tag summary

Content type

Image

Digest

sha256:b06b82926…

Size

1.8 MB

Last updated

about 4 years ago

docker pull csociety/greeter