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.1.tar.gz (7.7 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.1-py3-none-any.whl (9.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: dockedup-0.1.1.tar.gz
  • Upload date:
  • Size: 7.7 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.1.tar.gz
Algorithm Hash digest
SHA256 8f2dfdcfcf13346893607acd29df03bf3da44a27920628c69376b6fcd1135541
MD5 b3a39b3a750e5c34c265b24ee62f5970
BLAKE2b-256 e56f9fa77a8d65dd14f6920a4a68c78e8819eeaeafc71b48cddae322260f6819

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dockedup-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 9.0 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 26f32efcbcc63a5ab02f17d1c7b750db492e2ae4bb7d497457a613511e42035e
MD5 3eea9b70fd975a1531ee27513893b423
BLAKE2b-256 2014135b7b4cca06a6f0c9c1630b94d01bec34ae245eaa01be1781a16b06e07f

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