ctop is an interactive terminal dashboard for monitoring Docker containers.
It displays container status, CPU usage, memory usage, network activity, and process information.
The tool is installed through Homebrew and declared in the project Brewfile.
It is part of the curated Homebrew environment; see Homebrew setup to install everything at once.
Install ctop directly:
brew install ctopVerify the installation:
ctop -v
brew list --formula | grep -x ctopctop expects the default Docker socket:
/var/run/docker.sock
OrbStack uses a different socket associated with the orbstack Docker
context.
The managed Zsh profile exports DOCKER_HOST automatically when the OrbStack
socket exists:
export DOCKER_HOST="unix://$HOME/.orbstack/run/docker.sock"After applying the managed profile, reload it:
source ~/.zprofileDisplay the OrbStack Docker endpoint:
docker context inspect orbstack \
--format '{{.Endpoints.docker.Host}}'Run ctop normally:
ctopLaunch the dashboard:
ctopCommon controls include:
q Quit
Enter Open the selected container view
s Sort containers
f Filter containers
The exact shortcuts can be displayed from the built-in help screen.
ctop is useful for:
- monitoring several containers at once;
- checking container restart loops;
- diagnosing a local Docker Compose environment.
ctop complements other container tools:
docker pslists containers;docker statsdisplays live resource usage;- OrbStack provides a graphical interface;
- ctop provides a compact interactive terminal dashboard.
Confirm that OrbStack is running:
orbctl statusVerify that Docker can communicate with OrbStack:
docker infoDisplay the active Docker context:
docker context showDisplay the OrbStack socket:
docker context inspect orbstack \
--format '{{.Endpoints.docker.Host}}'If ctop still tries to connect to /var/run/docker.sock, verify that the
managed profile has been reloaded and that DOCKER_HOST points to the OrbStack
socket:
echo "$DOCKER_HOST"ctop can expose container management actions from its interface.
Before stopping, restarting, or removing a container, verify that it does not contain important transient work or production data.
Remove ctop with Homebrew:
brew uninstall ctopThen remove its entry from profiles/full/Brewfile.
