Wyntuition / docker-hello-world

Hello World web server in under 2.5 MB

Home Page:https://hub.docker.com/r/crccheck/hello-world/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

https://hub.docker.com/r/crccheck/hello-world/


Languages

Language:HTML 70.5%Language:Dockerfile 29.5%