A simple Docker Web GUI to download service logs, kill and restart Docker Swarm services. Made with Python 3.6, Flask, Docker-Py and Materialize. Requires Docker and Docker Compose.
- List all running Docker Services.
- Download the service logs starting from a certain date.
- Displays a short snippet (50 lines) of the logs in the browser, without the need of downloading the full log file.
- Kill and restart containers (only allowed users).
- LDAP for authentication by default (see FAQs)
- Clone this repo where your Docker host is.
- Copy/Rename
config.example.initoconfig.iniand add the values to all variables. - Copy/Rename
auth_users.example.pytoauth_users.pyand add the list of usernames with permissions to restart and kill services. - Run
docker-compose up
Check docker-compose.yml for some optional extra configuration:
- Replace
8080for the port where you want to publish the webapp. - Replace
./logs(on the left) with the folder where the logfiles will be written and pre processed before serving them. This could be replaced with/tmpor any temporal folder. - If your
docker.sockisn't on the default location, replace/var/run/docker.sockwith the actual location.
Based on a song by Gojira with the same name. Docker's logo is a whale, services are on the cloud... flying... It made sense when I came up with it.
I wrote this while working on a company that used LDAP for authentication, but it could be easily swapped out with something else.
Sure, but it requires some minor Docker-Py call changes. Open an issue if needed.

