Cute little flask app that shows the containers hostname. Nice for HA demonstration :-)
2.2K
Uses uklft/flask. Build for arm32v6 and amd64.
docker run -d -p 5000:5000 uklft/flask-hostname
Hint: Use this for beatiful Loadbalancher monitoring/logging if you have lynx.
while true; do clear; curl -s yourhost:5000 |lynx -stdin -dump; sleep 1; done
FROM uklft/flask
ADD ./app.py /app/
CMD python3 app.py
Content type
Image
Digest
Size
20.3 MB
Last updated
almost 9 years ago
docker pull uklft/flask-hostname