Sign inSign up

muenchdo/hello-name

By muenchdo

•Updated about 6 years ago

Image
0

6.0K

muenchdo/hello-name repository overview

Docker Pulls

⁠Hello Name

This is a simple Docker image which extends the awesome docker-hello-world⁠ by allowing you to configure who to greet on the index page.

⁠Sample Usage

⁠Starting a web server on port 8000
$ docker run -d --rm --name hello -p 8000:8000 -e NAME=Stranger muenchdo/hello-name

The server will now greet you with the name you set via the environment variable NAME:

$ curl localhost
<xmp>
Hello Stranger


                                       ##         .
                                 ## ## ##        ==
                              ## ## ## ## ##    ===
                           /""""""""""""""""\___/ ===
                      ~~~ {~~ ~~~~ ~~~ ~~~~ ~~ ~ /  ===- ~~~
                           \______ o          _,/
                            \      \       _,'
                             `'--.._\..--''
</xmp>

Tag summary

Content type

Image

Digest

Size

746.1 kB

Last updated

about 6 years ago

docker pull muenchdo/hello-name