Check Containers Status with Ctop

Use Top-like way to check containers information

ta-ching chen

1 minute read

 Table of Contents


It’s not easy to check containers status with top/htop. With ctop, now we can check/display all containers status with top-like interface!


ctop is developed by Go, all we need to do is download and put binary to the right place, then we can start to monitor containers status! (Support Linux and macOs)


$ wget -O ctop
$ sudo mv ctop /usr/local/bin/
$ sudo chmod +x /usr/local/bin/ctop

Mac Os X 

$ curl -Lo ctop
$ sudo mv ctop /usr/local/bin/
$ sudo chmod +x /usr/local/bin/ctop


Official also support running ctop in container. Just mount host docker socket as a volume into container, so that ctop can communicate with docker process.

$ docker run -ti -v /var/run/docker.sock:/var/run/docker.sock

CTOP Usage 

We need to specify where is the docker host first before using it.

$ export DOCKER_HOST=tcp://
$ ctop


Following are keybindings list provided now.


keybindings f 

Use f to filter containers and find our desired ones. (Number is not support(2017/03/12))


keybindings s 

Use s to sort containers with selecting fileds



See Also

To reproduce, republish or re-use the content, please attach with link:
comments powered by Disqus