A simple web application to display server hostname and IP address.
75
A simple web application to display server hostname and IP address. This app is useful for testing load-balancing setup. i.e checking if HTTP requests are LB to server-farm.
docker run -it -p 3100:80 --name=hello-webapp petechua/hello-webapp:latest
Run the containzed app and issue Client HTTP request
Example On the Client:
curl http://<container_IP>:3100
Hello from 5048c4664760 (172.17.0.7)
Content type
Image
Digest
Size
4.5 MB
Last updated
over 4 years ago
docker pull petechua/hello-webapp:1.0