Docker container monitoring and management plugin for DankMaterialShell
Inspired by GNOME extension Easy Docker Containers
- Bar widget displaying Docker status with running container count
- Expandable popout showing all containers
- Docker Compose view for managing compose projects
- Container management: start, stop, restart, pause, unpause
- Terminal access to running containers
- Container log viewing
- `Port mapping display
- Podman support with customizable docker binary
- Auto-refresh using
docker events
dms plugins install dockerManager- Open Settings -> Plugins
- Click in "Browse"
- Enable third party plugins
- Install and enable Docker Manager
- Add "Docker Manager" to your DankBar widgets list
- Copy plugin directory to
~/.config/DankMaterialShell/plugins/DockerManager
git clone https://github.com/LuckShiba/DmsDockerManager ~/.config/DankMaterialShell/plugins/DockerManager- Open Settings -> Plugins and click in "Scan"
- Enable "Docker Manager"
- Add "Docker Manager" to your DankBar widgets list
- Docker or Podman accessible via
dockercommand - User permissions to run Docker commands (make sure your user is added to the
dockerorpodmangroup)
Settings available in plugin settings:
- Docker Binary: Path to docker or podman binary (default:
docker) - Debounce Delay: The delay before refreshing the container list after receiving Docker Events (default:
300ms) - Terminal Application: Command for terminal windows (default:
alacritty --hold) - Shell Path: Shell for container exec (default:
/bin/sh) - Show Port Mappings: Toggle display of container port mappings when expanding containers (default:
true) - Auto-scroll on Expand: Automatically scroll to show expanded content when expanding containers or projects. The scroll smoothly follows the expansion animation to keep the action buttons visible. (default:
true)
Bar widget shows:
- Docker icon (colored: running containers, no color: no containers, red: unavailable)
- Running container count
Click widget to open container list. Expand containers to access actions:
- Start/Restart containers
- Pause/Unpause running containers
- Stop containers
- Open interactive shell
- View logs
If you have a Docker Compose project, you can select in the widget to manage the Compose projects instead, using the selector on the top-right.
The Docker Manager supports keyboard navigation when the popout is open:
Basic Navigation:
Up/DownorCtrl+K/JorCtrl+P/NorTab/Shift+Tab- Navigate between items- In Container View: Navigate through all containers
- In Compose View: Navigate through projects and their nested containers hierarchically
EnterorSpace- Expand/collapse the selected container/project, or execute the selected action when in action menuLeft ArroworCtrl+H- Collapse the selected container/project when in main list
Action Menu Navigation:
Right ArroworCtrl+L- Enter action menu for the currently selected container/project (expands first if collapsed)Up/Down- Navigate between action buttons when inside action menuLeft ArroworCtrl+H- Exit action menu and return to main listEnterorSpace- Execute the currently selected action
View Mode:
V- Toggle between Container view and Compose Project view
