Public Repository

Last pushed: 7 months ago
Short Description
This is a simple image to create a container with a running web server on port 80
Full Description

Author: Mariusz Sabath
Email: sabath@us.ibm.com
Description: this is a simple Dockerfile to create a container
with a running web server on port 80
The response from the container returns the container hostname name
and the TEST parameter value passed as an environment variable

   docker run -d --name WEB -e TEST=MyTest1 -p 8081:80 mrsabath/web-ms

expected result [after 30 seconds (for web-ms:v1 and v2) or 5 seconds (web-ms:v3 or latest) wait delay]:

  curl http://localhost:8081
 <html><head><title>Hello World</title></head><body><h2>Hostname: e684a1dbcbcb
  </h2><h2>TEST:  MyTest1</h2></body></html>
Docker Pull Command
Owner
mrsabath