/docker-hello-name

Hello World web server in under 2 MB

Primary LanguageHTML

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>