Skip to content

Lax77/docker-hello-world

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 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 two floppy disks:

$ docker images | grep hell
REPOSITORY               TAG       IMAGE ID        CREATED          VIRTUAL SIZE
crccheck/hello-world     latest    3fb806978748    7 minutes ago    2.434 MB

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 100.0%