ctop on Raspberry Pictop is a top-like interface for monitoring Docker containers. Since Raspberry Pi uses ARM CPUs, you need to download the correct architecture binary.
Run the following command:
uname -m
Output armv7l → 32-bit ARM (most Pi OSes)
Output aarch64 → 64-bit ARM
Output x86_64 → (unlikely) 64-bit Intel/AMD CPU ← definitely not Raspberry Pi
This determines which ctop binary to download.
ctop release
curl -s https://api.github.com/repos/bcicen/ctop/releases/latest \
| grep browser_download_url \
| grep linux-armv7 \
| cut -d '"' -f 4 \
| wget -i -
curl -s https://api.github.com/repos/bcicen/ctop/releases/latest \
| grep browser_download_url \
| grep linux-arm64 \
| cut -d '"' -f 4 \
| wget -i -
This command fetches the latest release from GitHub automatically.
After downloading, make it executable:
chmod +x ctop-*-linux-*
sudo mv ctop-*-linux-* /usr/local/bin/ctop
Now ctop can be run from anywhere.
ctop
ctop
You should see a live dashboard of your Docker containers.