Skip to content

Latest commit

 

History

History
26 lines (16 loc) · 1.16 KB

README.md

File metadata and controls

26 lines (16 loc) · 1.16 KB

docker-debug

Docker Stars Docker Pulls Image Size Image Layers

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.

To Build

docker build -t whalesalad/docker-debug .

To Run

# Daemon Mode
docker run -d -p 8080:8080 whalesalad/docker-debug

# Attached
docker run -i -t -p 8080:8080 whalesalad/docker-debug

TODO

  • Enable content negotiation and/or a .json endpoint to request a json format of this instead of HTML.