Skip to content

mvexel/colima-menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dok

MacOS menu bar that shows running Docker containers and quick actions.

Screenhot

Why

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.

Features

  • 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

Requirements

  • macOS
  • Docker CLI available on PATH
  • Python 3.12+

Installation & Usage

Run from source

Activate your virtualenv and run:

python dok.py

Build standalone app

This is a bit experimental.. Use at your own risk..

Install build dependencies:

uv sync --all-extras

Build the app:

python setup.py py2app -A

This 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.

Attribution

Box icon from SVG Repo / Solar Icons

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages