Visualization helps provides intuition and understanding. This project tries to answer the following questions
What's running on my Docker daemon?
What does my network path look like?
How is everything tied together?
Container Hive's main goal is to give a user friendly display of everything that is running in your Docker daemon and, in the future, provide powerful CRUD capabilities.
- Up/Right arrow: Increase animation speed
- Down/Left arrow: Decrease animation speed
- Space: Toggle pause the world
Container Hive is a Node app built with React, µWS, execa, Dockerode, and Express.
apt-get -y install linux-headers-$(uname -r)
docker pull sysdig/sysdig
yum -y install kernel-devel-$(uname -r)
docker pull sysdig/sysdig
docker pull sysdig/sysdig
Setup the VM first
docker-machine create --driver=virtualbox default
eval $(docker-machine env)
Follow the latest mobydig guide to compile sysdig for Docker for Mac. You can follow the official sysdig issue here
git clone https://github.com/fdebonneval/mobydig
cd mobydig
make build
# you'll need to make sure to run this container before running `npm run start-server` which will match the container name and listen to its logs
docker run -t --name sysdig_container_hive -d --rm --privileged -v /var/run/docker.sock:/host/var/run/docker.sock -v /dev:/host/dev -v /proc:/host/proc:ro -v /lib/modules:/host/lib/modules:ro -v /usr:/host/usr:ro -v /usr/bin/docker:/usr/bin/docker:ro mobydig:dev sysdig -pc evt.type=accept
Submit issues and PRs please
npm install
npm run start-server
npm run start
Your browser should open a new tab with the app loaded on http://localhost:8000
# Start React App with Hot Reloading
npm run start
# Start Backend App
npm run start-server
Pull Requests are welcomed and encouraged!