ganetimgr-docker ================ # This creates a container running ganeti. # KVM (the kernel module) must be present on the host # so /dev/kvm will be passed to the container. cd ganeti docker build -t grnet/ganeti . docker run --privileged --detach --name ganeti grnet/ganeti # watcher container - runs a beanstalk tube # needs python deps and the ganetimgr project #docker build -t grnet/ganetimgr-watcher watcher-Dockerfile #docker run --link ganetimgr:ganetimgr --name ganetimgr-watcher grnet/ganetimgr-watcher # Ganetimgr doesn't support non localhost beanstalks so this is integrated in # the main container # Runs ganetimgr in a container. # Uses sqlite, no redis and local beanstalkd/watcher by default. docker build -t grnet/ganetimgr . docker run --link ganeti:ganeti -e GANETIMGR_ADMIN_PASS= -p 80:80 --name ganetimgr grnet/ganetimgr # To get shell access to any of the containers: docker exec -ti /bin/bash