htop for your Docker Compose stack.
DockedUp is an interactive command-line tool that provides a live, beautiful, and human-friendly monitor for your Docker containers. It's designed for developers and DevOps engineers who want a quick, real-time overview of their containerized environments without the noise of docker ps and the hassle of switching terminals.
docker-compose project.Up, Down, Restarting) and health (Healthy, Unhealthy) with visual cues.l → View live logs (docker logs -f).r → Restart a container (with confirmation).x → Stop a container (with confirmation).s → Open a shell (/bin/sh) inside a container.docker stats and docker ps are functional, but fall short when you need to:
- Monitor container status, health, and resource usage in one unified view.
- Act on a container (view logs, restart, shell in) without breaking your workflow.
- Understand a complex docker-compose stack at a glance.
DockedUp solves these problems by presenting your container information in a continuously updating, color-coded, and interactive dashboard right in your terminal.
DockedUp is available on PyPI. It is highly recommended to install CLI tools in an isolated environment using pipx.
pipx install dockedup
Alternatively, you can use pip:
pip install dockedup
git clone https://github.com/anilrajrimal1/dockedup.git
cd dockedup
pip install -e .
# Start DockedUp with default settings
dockedup
# Custom refresh rate (0.5 seconds)
dockedup --refresh 0.5
# Enable debug mode
dockedup --debug
dockedup [OPTIONS]
Options:
-r, --refresh FLOAT UI refresh rate in seconds (0.1-60.0) [default: 1.0]
-d, --debug Enable debug mode with verbose logging
-v, --version Show version and exit
-h, --help Show help message and exit
Once DockedUp is running, use these keyboard shortcuts:
| Key | Action |
|---|---|
↑/↓ or k/j |
Navigate up/down |
l |
View live logs |
r |
Restart container (with confirmation) |
s |
Open shell session |
x |
Stop container (with confirmation) |
? |
Show help screen |
q or Ctrl+C |
Quit DockedUp |
DockedUp displays containers grouped by Docker Compose project:
┌─────────────────────────────────────────────────────────────────────┐
│ DockedUp - Interactive Docker Compose Monitor │
└─────────────────────────────────────────────────────────────────────┘
┌─ Project: anil-demo ──────────────────────────────────────────────────┐
│ Container │ Status │ Uptime │ Health │ CPU % │ Memory │
│ anil-demo-web │ ✅ Up │ 2h 15m │ 🟢 Healthy│ 15.2% │ 245M/1G │
│ anil-demo-db │ ✅ Up │ 2h 15m │ — │ 5.1% │ 180M/2G │
│ anil-demo-redis │ ❌ Down │ — │ — │ — │ — │
└────────────────────────────────────────────────────────────────────┘
Q)uit | ↑/↓ Navigate | L)ogs | R)estart | S)hell | X) Stop | ?) Help
| Variable | Description | Default |
|---|---|---|
DOCKER_HOST |
Docker daemon socket | unix:///var/run/docker.sock |
DOCKER_CERT_PATH |
Path to Docker certificates | — |
DOCKER_TLS_VERIFY |
Enable TLS verification | 0 |
DockedUp respects your Docker context configuration:
# Use a specific Docker context
docker context use myremote
dockedup
# Or temporarily override
DOCKER_HOST=tcp://remote-docker:2376 dockedup
Error: Failed to connect to Docker
Docker Desktop not running (macOS/Windows):
bash
# Start Docker Desktop, then test:
docker ps
Permission denied (Linux):
bash
# Add user to docker group:
sudo usermod -aG docker $USER
# Then logout and login again
Docker daemon not running (Linux): ```bash # Check status: sudo systemctl status docker
# Start if needed: sudo systemctl start docker ```
If DockedUp feels slow:
# Reduce refresh rate
dockedup --refresh 2.0
# Check Docker daemon performance
docker system df
docker system prune # Clean up unused resources
Enable debug logging to troubleshoot issues:
dockedup --debug
We welcome contributions! Please see our Contributing Guide for details.
Interested in contributing or running the project locally?
Prerequisites: - Git - Python 3.10+ - Poetry
Setup:
1. Clone the repository:
bash
git clone https://github.com/anilrajrimal1/dockedup.git
cd dockedup
2. Install dependencies:
bash
poetry install
3. Run the application locally:
bash
poetry run dockedup
4. Run the tests:
bash
poetry run pytest
This project is licensed under the MIT License - see the LICENSE file for details.
Made with ❤️ by Anil for the Docker community
$ claude mcp add dockedup \
-- python -m otcore.mcp_server <graph>