A simple python http application running inside of docker container that prints out environment variables. This is useful for debugging a 12-factor-app style service deployment.
docker build -t whalesalad/docker-debug .
# Daemon Mode
docker run -d -p 8080:8080 whalesalad/docker-debug
# Attached
docker run -i -t -p 8080:8080 whalesalad/docker-debug
- Enable content negotiation and/or a
.json
endpoint to request a json format of this instead of HTML.