A CLI tool for a live view of your docker containers running on a remote server.
Project description
Docker Cluster Monitor - A TUI utility to monitor your docker containers
A TUI tool for a live view of your docker containers running on a remote server. Here's a graphic of it running (refreshes every 5 seconds or so automatically):
Notice that it uses color to communicate outlier values. For example, low CPU is green, middle-of-the-road CPU is cyan, and heavy CPU usage is red. Similarly for memory. The memory limit column reflects the deploy>memory limit in Docker Compose for that container and the percentage reported is for the imposed memory limit rather than the machine physical memory limits.
Usage
To use the tool, it has one command, dockerstatus
with a shorter alias ds
. If you are running a set of Docker containers (say via Docker Compose) on server my-docker-host
, then just run:
dockerstatus my-docker-host
You can optionally pass the username if you're not logging in as root
. Here is the full help text (thank you Typer):
Usage: dockerstatus [OPTIONS] HOST [USERNAME]
╭─ Arguments ───────────────────────────────────────────────────────────╮
│ * host TEXT The server DNS name or IP address (e.g. 91.7.5.1│
│ or google.com). [default: None] [required] │
│ username [USERNAME] The username of the ssh user for interacting │
│ with the server. [default: root] │
╰───────────────────────────────────────────────────────────────────────╯
╭─ Options ─────────────────────────────────────────────────────────────╮
│ --help Show this message and exit. │
╰───────────────────────────────────────────────────────────────────────╯
Installation
This package is available on PyPI as dockerclustermon. However, it is ideally used as a CLI tool and not imported into programs. As such, using uv or pipx will be most useful. Take your pick:
uv
uv tool install dockerclustermon
Of course this requires that you have uv installed and in the path.
pipx
pipx install dockerclustermon
And this requires that you have pipx installed and in the path.
Compatibility
Docker Cluster Monitor has been tested against Ubunutu Linux. It should work on any system that supports SSH and has the Docker CLI tools installed. Note that it does not work on the local machine at the moment. PRs are welcome. ;)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file dockerclustermon-0.2.2.tar.gz
.
File metadata
- Download URL: dockerclustermon-0.2.2.tar.gz
- Upload date:
- Size: 7.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dcc9be1d1acee1999144fc6625a2f0c870279aaff9bf155afc21674bed051777 |
|
MD5 | d62205452697932e6fef22db7bfdb9ae |
|
BLAKE2b-256 | 93b82ba61c0ba8438e3afdd8cd399248ab042e309401b46393eee54e93eaebfc |
File details
Details for the file dockerclustermon-0.2.2-py3-none-any.whl
.
File metadata
- Download URL: dockerclustermon-0.2.2-py3-none-any.whl
- Upload date:
- Size: 7.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | eab1eb5aecafa43047dc3bb6122094c401424eb3e40d70dd21eac4d912d1cc53 |
|
MD5 | 6fefe08cd8f41e9789614bc5e39bab98 |
|
BLAKE2b-256 | 013771fbce27e68696ac95d5224d6114f576399cbe155f756e387556398770ab |