Starts web server on port 3005 for testing. Displays random string and information about requester.
918
Assuming container is running on node with IP address 147.75.198.215, here is the output. It shows the random 10 bytes string (0774bae342269aa4478c in this case), then source IP address of requester (i.e.67.151.186.178) and finally request itself (147.75.198.215:3005) taken from http header
$ curl -i 147.75.198.215:3005 HTTP/1.1 200 OK Date: Tue, 26 Apr 2016 17:05:53 GMT Connection: keep-alive Content-Length: 77
Content type
Image
Digest
Size
251 MB
Last updated
over 10 years ago
docker pull irom77/webtest