ctop: Monitor Container Metrics in a Terminal

Summary
ctop is a terminal dashboard for viewing real-time metrics across multiple containers, with a focused view for inspecting one container. It suits operators and developers who want a quick, interactive overview without opening a web dashboard.
At a glance
- Language
- Go
- License
- MIT
- Stars
- 17.8k
- Forks
- 589
- Added to OSRepos
- December 15, 2025
- Last analyzed
- October 3, 2026
Use at your own risk
OSRepos shares public repositories for knowledge and discovery only. Any installation, execution, configuration, or use of code from these repositories is the user's own responsibility. Always review the repository, source code, dependencies, licenses, and security implications before running or installing anything. OSRepos is not responsible for issues, damages, or losses resulting from third-party repositories.
Overview
ctop is a top-like command-line interface for monitoring container metrics. It condenses information about multiple containers into a live terminal view and also provides a single-container view for closer inspection.
It is useful when you need a quick read on container activity from a shell, especially while working with Docker or runC. The project supports those runtimes directly; connectors for other container and cluster systems are described as planned.
Key Features
- Shows real-time metrics for multiple containers in a compact terminal interface.
- Opens a single-container view for detailed inspection.
- Supports Docker and runC connectors.
- Filters the displayed containers and sorts them by a selected field.
- Toggles between active containers and all containers, including non-running ones.
- Provides container logs and an option to open an exec shell.
- Saves filters, sort field, and other settings to a configuration file.
- Offers packages or installation options for Linux, macOS, and Windows, as well as a Docker image.
Use Cases
- Developers can check container health and activity during local development without leaving the terminal.
- Operators can scan multiple containers during troubleshooting and filter down to a specific workload.
- Teams running Docker or runC can inspect logs or open a shell for an individual container from the interface.
- Terminal-focused users can monitor containers over a remote shell or in environments where a browser dashboard is inconvenient.
Project Facts
- Language: Go
- License: MIT
- Stars: 17.8k
- Forks: 589
- Topics: command-line, commandline, containers, docker, monitoring, runc, top
- Archived: No
Getting Started
Install through Homebrew on macOS:
brew install ctop
Then run ctop. It uses Docker host variables by default. See the README for other installation methods, options, and connector configuration.
Considerations
- Built-in connector support is for Docker and runC. Support for other container and cluster systems is not presented as available.
- The interface is terminal-based, so it is best suited to users comfortable working in a command line.
- Container access depends on the runtime connection being available to ctop. The Docker example mounts the Docker socket read-only.
- Installation methods and package maintenance vary by platform. The README identifies the Debian/Ubuntu package as third-party maintained.
Found this useful?
Share it with someone who would like ctop.
Comparisons
Source repository
Open the original repository on GitHub.
23 counted GitHub visits
Related repositories
Similar repositories that may be relevant next.

ai-observer: Monitor AI Coding Assistant Usage Locally
October 4, 2026
AI Observer is a self-hosted OpenTelemetry backend and dashboard for tracking usage across local AI coding assistants. It brings token and cost data, traces, logs, and metrics together in DuckDB, with both OTLP ingestion and file-based import or watching for supported tools.

e2a: Email API for Applications and AI Agents
September 29, 2026
e2a provides an email API and relay for applications and AI agents. It supports transactional sending, inbound mailboxes, and agent replies, with optional human review and hosted or Docker-based deployment.

router: Route AI Requests to the Best Model
September 28, 2026
weave-os/router is a Go proxy that routes AI requests across configured model providers, while accepting Anthropic, OpenAI, and Gemini API formats. It suits developers who want model choice and routing behind one endpoint, including agent and coding-tool users.

ksail: Create and Operate Kubernetes Clusters
September 27, 2026
KSail is a Go-based toolkit for creating and operating Kubernetes clusters across local, nested, and cloud providers. It brings provisioning, GitOps, secrets, cluster operations, and AI interfaces into one tool, for developers and platform teams who want a unified workflow.