Created to manage a local Docker install for a home server. Allows listing of containers; viewing basic container perf stats and docker state; and starting/stopping/restarting containers.
It uses the Docker CLI and abuses the --format {{}}
arg for output parsing.
The fastest way to install is to follow the "Http URL" method (https://webmin.com/docs/modules/webmin-configuration/#installing) and the latest docker.tar.gz
release package from https://github.com/dave-lang/webmin-docker/releases.
Alternatively you can download and install it directly or build manually, the packaging steps are in the GitHub action in the repo.
Docker configuration has been setup to allow easier development.
This environment has webmin and docker already installed, along with a very basic Ubuntu 18 docker config ready to start in the container (Docker in Docker).
cd tools
docker-compose up -d
to run docker compose as daemon- Open http://localhost:10000 to access the webmin console
Use docker exec -it webmin_master /bin/bash
to get a SSH console.
Docker will not be running by default, use dockerd
to run it, Ctrl+C to stop. Start the internal container via:
cd dind
docker-compose up -d