Skip to main content

A simple terminal-based Docker performance monitor.

Project description

DockerView

License: MIT

A simple terminal-based Docker performance monitor that displays real-time container statistics in a beautiful table format.

Features

  • Real-time monitoring of Docker containers
  • Displays container ID, name, status, CPU usage, and memory usage
  • Auto-refreshing display (1 second interval)
  • Clean terminal UI using Rich library
  • Simple keyboard control (Ctrl+C to exit)

Installation

pip install dockerview

Usage

dockerview

Example output:

DockerView Monitor (Press Ctrl+C to exit)
┏━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━━━━┓
┃ ID         ┃ Name             ┃ Status   ┃ CPU %  ┃ Memory Usage ┃
┡━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━━━━┩
│ a1b2c3d4e5 │ web-server       │ running  │ 2.5%   │ 120MB/2GB    │
│ f6g7h8i9j0 │ database         │ running  │ 15.2%  │ 890MB/4GB    │
│ k1l2m3n4o5 │ redis-cache      │ running  │ 0.8%   │ 45MB/1GB     │
└────────────┴──────────────────┴──────────┴────────┴──────────────┘

Requirements

  • Docker Engine
  • Python 3.8+
  • Rich library (>=13.0.0)
  • Docker SDK for Python (>=6.0.0)

Project Structure

dockerview/
├── cli.py          # Command line interface
├── monitor.py      # Docker monitoring logic
├── __init__.py     # Package initialization
└── ...

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

dockerview-0.1.0.tar.gz (4.4 kB view details)

Uploaded Source

Built Distribution

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

dockerview-0.1.0-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: dockerview-0.1.0.tar.gz
  • Upload date:
  • Size: 4.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.8.20

File hashes

Hashes for dockerview-0.1.0.tar.gz
Algorithm Hash digest
SHA256 6e71067d3bbb56875707ffecd96fddda15ac9c41d56fe78d97e2f068b14a1b99
MD5 9bfae0eb6b2dd93015cffb0b271bf741
BLAKE2b-256 eb0295786481cd7648a68e5ba6b3aa2f357fe6ee09ca795e76aa1af8c9bfbcaa

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dockerview-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 5.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.8.20

File hashes

Hashes for dockerview-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 67f5cf7b50cacebf660dc3f4b55c44d112381f77e4e876d220c45ddb245f00e1
MD5 597c231a9a76645199cc0261904e74fc
BLAKE2b-256 bf5391b3e507e356566d983765bbb1c73d2de4feb1d5a4d53c1d1f6086e8b9a1

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