Skip to content

muenchdo/docker-hello-name

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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>

About

Hello World web server in under 2 MB

Resources

Stars

Watchers

Forks

Languages

  • HTML 60.8%
  • Dockerfile 39.2%