Skip to content

iLem0n/docker-hello-world

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Hello World

This is a simple image that just gives a response on port 8000. Use this to test your web orchestration. It's small enough to fit on one floppy disk:

$ docker images | grep hell
REPOSITORY               TAG       IMAGE ID        CREATED          VIRTUAL SIZE
crccheck/hello-world     latest    2b28c6ad8d1b    4 months ago     1.13MB

Sample Usage

Starting a web server on port 80

$ docker run -d --name web-test -p 80:8000 crccheck/hello-world

You can now interact with this as if it were a dumb web server:

$ curl localhost
Hello World
...

# Every request returns the same thing
$ curl -X POST localhost/super/secret
Hello World
...

# Does not send actual HTTP responses (this should probably change so this can
# be used with load balancers)
$ curl --write-out %{http_code} --silent --output /dev/null localhost
000

About

Hello World web server in under 2.5 MB

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 70.5%
  • Dockerfile 29.5%