A minimalist, fast, and clean command-line tool for monitoring your running Docker containers. Forget about the clutter of standard docker ps outputs—dockstat delivers all the essential information you need at a single glance.
- Container Overview: ID, name, and image name in clean, readable format.
- Status Monitoring: See instantly if your container is running, paused, or stopped.
- RAM Usage: Real-time memory consumption in MB.
- Uptime: Know exactly how long your container has been alive.
- Port Mapping: Quick overview of active container ports
- Go 1.26 or higher (if you build it yourself)
github.com/fatih/colorgithub.com/docker
Linux / MacOS:
curl -sSL https://raw.githubusercontent.com/wpxq/dockstat/main/dockstat_setup.sh | bashif you prefer to clone and build yourself:
git clone https://github.com/wpxq/dockstat
cd dockstat
chnod +x dockstat_setup.sh
./dockstat_setup.shif the command is not found, add this to your .bashrc (or .zshrc):
export PATH="$HOME/.local/bin:$PATH"
