Sign inSign up

j796160836/simple-test-http

By j796160836

•Updated over 4 years ago

a simple web server under 2MB

Image
0

1.4K

j796160836/simple-test-http repository overview

⁠Simple test HTTP (Hello World)

This image is forked from crccheck/hello-world image.
The differance is add hostname as identifier and change expose port to 80.

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

$ docker images | grep simple-test-http
REPOSITORY               TAG       IMAGE ID        CREATED          VIRTUAL SIZE
j796160836/simple-test-http     latest    a88b0d92c4ac    4 months ago     1.13MB

⁠Sample Usage

⁠Starting a web server on port 80
$ docker run -d --name web-test -p 80:80 j796160836/simple-test-http

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

$ curl localhost
<xmp>
Hello World
Hostname: 62b76e65d550
(...omitted)
</xmp>

That's it! Enjoy 😄

Tag summary

Content type

Image

Digest

Size

754.9 kB

Last updated

over 4 years ago

docker pull j796160836/simple-test-http