MacOS menu bar that shows running Docker containers and quick actions.
I don't like Docker Desktop so I use colima instead. But I still want to quickly see how many containers I have running. So this is for that.
- Shows count of running containers in the menu bar
- Per-container submenu with:
- Running time display
- Mounts (click to open bind mounts in Finder)
- Open Logs: opens iTerm2 or Terminal window and runs
docker logs -f <container> - Stop: stops the container
- Auto-refresh every 5 seconds
- macOS
- Docker CLI available on PATH
- Python 3.12+
Activate your virtualenv and run:
python dok.pyThis is a bit experimental.. Use at your own risk..
Install build dependencies:
uv sync --all-extrasBuild the app:
python setup.py py2app -AThis creates dist/dok.app
I could not get a full standalone build to work. Building with alias mode (-A flag) works, but the app package will contain symlinks to the source files and venv, so if you move or delete the source dir everything breaks.
Box icon from SVG Repo / Solar Icons