This is a simple flask project that allows users to view running containers, images, networks, and volumes. It is an educational project.
- Build the image
docker build -t flask-docker .
- Copy the .env.template to .env and run with docker-compose
docker-compose up -d --build
- /containers
- /containers/<container_id>
- /images/
- /images/<image_id>
- /networks
- /networks/<network_id>
querystring params
format
: either format=app or format=api.- format=api returns a json
- format=app returns the app
- no param returns the app