A simple web server that outputs the IP addresses of the source and destination, very useful for testing loadbalancer to show real requests.
For more information about this image and its history, please see the relevant manifest file in the yeasy/simple-web
GitHub repo.
simple-web is a simple web to show the source and destination IP addresses of the received requests information, written in python.
The docker image is auto built at https://registry.hub.docker.com/u/yeasy/simple-web/.
FROM yeasy/simple-web:latest
$ docker run --rm -it -p 80:80 yeasy/simple-web:latest
The image is based on python:2.7
Add the index.py code.
This image is officially supported on Docker version 1.7.1.
Support for older versions (down to 1.0) is provided on a best-effort basis.
Be sure to familiarize yourself with the repository's README.md
file before attempting a pull request.
If you have any problems with or questions about this image, please contact us through a GitHub issue.
You can also reach many of the official image maintainers via the email.
You are invited to contribute new features, fixes, or updates, large or small; we are always thrilled to receive pull requests, and do our best to process them as fast as we can.
Before you start to code, we recommend discussing your plans through a GitHub issue, especially for more ambitious contributions. This gives other contributors a chance to point you in the right direction, give you feedback on your design, and help you find out if someone else is working on the same thing.