Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
C

ctop

> DevOps
Open source

Top-like interface for container metrics

17.8K stars0 likes1 views
WebsiteGitHub

About

Top-like interface for container metrics

release homebrew macports scoop

Top-like interface for container metrics

ctop provides a concise and condensed overview of real-time metrics for multiple containers:

as well as a single container view for inspecting a specific container.

ctop comes with built-in support for Docker and runC; connectors for other container and cluster systems are planned for future releases.

Install

Fetch the latest release for your platform:

Debian/Ubuntu

Maintained by a third party

bash
sudo apt-get install ca-certificates curl gnupg lsb-release
curl -fsSL https://azlux.fr/repo.gpg.key | sudo gpg --dearmor -o /usr/share/keyrings/azlux-archive-keyring.gpg
echo \
  "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/azlux-archive-keyring.gpg] http://packages.azlux.fr/debian \
  $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/azlux.list >/dev/null
sudo apt-get update
sudo apt-get install docker-ctop

Arch

bash
sudo pacman -S ctop

ctop is also available for Arch in the AUR

Linux (Generic)

bash
sudo wget https://github.com/bcicen/ctop/releases/download/v0.7.7/ctop-0.7.7-linux-amd64 -O /usr/local/bin/ctop
sudo chmod +x /usr/local/bin/ctop

OS X

bash
brew install ctop

or

bash
sudo port install ctop

or

bash
sudo curl -Lo /usr/local/bin/ctop https://github.com/bcicen/ctop/releases/download/v0.7.7/ctop-0.7.7-darwin-amd64
sudo chmod +x /usr/local/bin/ctop

Windows

ctop is available in scoop:

powershell
scoop install ctop

Docker

bash
docker run --rm -ti \
  --name=ctop \
  --volume /var/run/docker.sock:/var/run/docker.sock:ro \
  quay.io/vektorlab/ctop:latest

Building

Build steps can be found here.

Usage

ctop requires no arguments and uses Docker host variables by default. See connectors for further configuration options.

Config file

While running, use S to save the current filters, sort field, and other options to a default config path (~/.config/ctop/config on XDG systems, else ~/.ctop).

Config file values will be loaded and applied the next time ctop is started.

Options

Option Description
-a show active containers only
-f <string> set an initial filter string
-h display help dialog
-i invert default colors
-r reverse container sort order
-s select initial container sort field
-v output version information and exit

Keybindings

Key Action
<ENTER> Open container menu
a Toggle display of all (running and non-running) containers
f Filter displayed containers (esc to clear when open)
H Toggle ctop header
h Open help dialog
s Select container sort field
r Reverse container sort order
o Open single view
l View container logs (t to toggle timestamp when open)
e Exec Shell
c Configure columns
S Save current configuration to file
q Quit ctop

Alternatives

See Awesome Docker list for similar tools to work with Docker.

Issues· 119 open

View all issuesOpen on GitHub
  • #376

    Ubunutu and Debian isn't fully supported for newer versions

    Updated Jul 16, 2026
  • #333

    Instructions to install on Ubuntu using APT repository doesn't work

    Updated Jul 16, 2026
  • #321

    CTOP crash when accessing gitlab container widget

    Updated May 22, 2026
  • #372

    runtime error under Debian running in Windows 11 WSL2

    Updated Apr 23, 2026
  • #348

    Is there a way to make this work for Podman

    Updated Apr 21, 2026
  • #3

    Lxc / Lxd Support?

    connector requestUpdated Mar 10, 2026
  • #366

    Dtop is an alternate to ctop

    Updated Feb 24, 2026
  • #324

    Add Support for ANSI Escape Sequences in Container Logs

    Updated Feb 14, 2026
  • #356

    Header with system stats

    Updated Feb 14, 2026
  • #142

    docker image is only built for x86_64

    Updated Feb 14, 2026

> Tags

Gocommand-linecommandlinecontainersdocker

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedOct 1, 2026
CategoryDevOps
PricingOpen source

> Related tools

D
Docker
容器化平台,标准化应用交付
G
GitHub Actions
GitHub 原生 CI/CD 工作流
N
Nginx
高性能 Web 服务器与反向代理