j796160836 / docker-simple-test-http

a simple web server under 2MB

Home Page:https://hub.docker.com/r/j796160836/simple-test-http/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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 😄

About

a simple web server under 2MB

https://hub.docker.com/r/j796160836/simple-test-http/


Languages

Language:HTML 100.0%