Skip to main content

Your live, beautiful Docker Compose monitor CLI tool.

Project description

DockedUp

htop for your Docker Compose stack.

DockedUp Demo

PyPI version Python versions License

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.

Problem It Solves

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.

Key Features

  • Real-Time Monitoring: Live-updating data for status, uptime, CPU, and Memory.
  • Compose Project Grouping: Automatically groups containers by their docker-compose project.
  • Emoji + Colors: Clearly shows container status (Up, Down, Restarting) and health (Healthy, Unhealthy) with visual cues.
  • ⌨️ Interactive Controls: Select containers with arrow keys and use hotkeys to:
    • 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.
  • PyPI Package: Simple one-liner installation.

Installation

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

usage

Simply run the command to start the interactive monitor:

dockedup

Once running, use the following keys:

  • ↑/↓: Navigate between containers.
  • l: Show live logs for the selected container.
  • r: Restart the selected container.
  • x: Stop the selected container.
  • s: Open a shell in the selected container.
  • q: Quit the application.

Developer's Guide

Interested in contributing or running the project locally?

Prerequisites:

Setup:

  1. Clone the repository:
    git clone https://github.com/anilrajrimal1/dockedup.git
    cd dockedup
    
  2. Install dependencies:
    poetry install
    
  3. Run the application locally:
    poetry run dockedup
    
  4. Run the tests:
    poetry run pytest
    

Contributing

Contributions are welcome! Whether it's a bug report, a feature request, or a pull request, we'd love to hear from you.

Please read our Contributing Guide for details on our code of conduct and the process for submitting pull requests.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dockedup-0.1.0.tar.gz (7.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dockedup-0.1.0-py3-none-any.whl (8.8 kB view details)

Uploaded Python 3

File details

Details for the file dockedup-0.1.0.tar.gz.

File metadata

  • Download URL: dockedup-0.1.0.tar.gz
  • Upload date:
  • Size: 7.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.10.12 Linux/6.8.0-60-generic

File hashes

Hashes for dockedup-0.1.0.tar.gz
Algorithm Hash digest
SHA256 c470c9d289e30ac75cd299de580962bb335157fa61705e984788a8a0f1fdfe12
MD5 d3281097609b51b87afd58a304b78781
BLAKE2b-256 f9359e8dbb35969b5282eb7f911e24be5f7a9fed5a499b37108241590c292919

See more details on using hashes here.

File details

Details for the file dockedup-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: dockedup-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 8.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.10.12 Linux/6.8.0-60-generic

File hashes

Hashes for dockedup-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7e2adce8e9ad4225367fafbdf09bbd6998b16d6f013330b57a970bfc3d2a844c
MD5 fdbae4ec584f02a2f7f03b0cbbf77d6d
BLAKE2b-256 90042b98ddc0fcbfb50ff85ebca10655d311d9cc0dfa63b7cdae9dcec2551761

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page