To build ctop from source, simply clone the repo and run:
make buildTo build a minimal Docker image containing only ctop:
make imageNow you can run your local image:
docker run --rm -ti \
--name ctop \
-v /var/run/docker.sock:/var/run/docker.sock \
ctop:latest