D4S (pronounced D-Force) brings the power and ergonomics of K9s to the local Docker ecosystem. Stop wrestling with verbose CLI commands and start managing your containers like a pro.
Manage your Docker Swarm, Compose stacks, and Containers with a fancy, fast, and keyboard-centric Terminal User Interface.
- Fancy UI: Modern TUI with Dracula theme, smooth navigation, and live updates.
- Keyboard Centric: Vim-like navigation (
j/k), shortcuts for everything. No mouse needed. - Full Scope: Supports Containers, Images, Volumes, Networks.
- Compose Aware: Easily identify containers belonging to Compose stacks.
- Swarm Aware: Supports Nodes, Services.
- Powerful Search: Instant fuzzy filtering (
/) and command palette (:). - Live Stats: Real-time CPU/Mem usage for containers and host context.
- Advanced Logs: Streaming logs with auto-scroll, timestamps toggle, and wrap mode.
- Quick Shell: Drop into a container shell (
s) in a split second. - Contextual Actions: Inspect, Restart, Stop, Prune, Delete with safety confirmations.
brew install jr-k/d4s/d4sdocker run --rm --pull always -it -v /var/run/docker.sock:/var/run/docker.sock ghcr.io/jr-k/d4s:latestYou might want to create an alias for quicker usage. For example:
echo "alias d4s='docker run --rm --pull always -it -v /var/run/docker.sock:/var/run/docker.sock ghcr.io/jr-k/d4s:latest'" >> ~/.zshrcAfter running this, either restart your terminal or run source ~/.zshrc (or source ~/.bashrc for Bash) to enable the alias.
Automated
curl -fsSL https://d4scli.io/install.sh | sh -s -- ~/.local/binThe script installs downloaded binary to $HOME/.local/bin directory by default, but it can be changed by setting DIR environment variable.
Manual
Grab a release from the releases page and install it manually.
scoop bucket add d4s https://github.com/jr-k/scoop-d4s
scoop install d4sRequirement: Go 1.21+
git clone https://github.com/jr-k/d4s.git
cd d4s
go build -o d4s cmd/d4s/main.go
sudo mv d4s ~/.local/bin/# Make the binary accessible then run it
mv d4s ~/.local/bin/
d4s
# Quickly run from source
go run cmd/d4s/main.god4s
d4s versionThere's still plenty to do! Take a look at the contributing guide to see how you can help.
Built with Go & Tview. Inspired by K9s.
D4s uses several open source libraries. Thanks to the maintainers who make this possible.




