Run OpenStack Havana in a Docker container. Includes Keystone, Nova Controller, Glance, Dashboard, MySQL, Apache, and RabbitMQ
Nova-Compute is setup for provisioning Docker images only. Details here http://docs.openstack.org/trunk/config-reference/content/docker.html
If you're using the offical Docker Vagrantfile to run Docker then you must export FORWARD_DOCKER_PORTS=1
to forward all ports in the 49xxx range.
After building the image using the build
script, use shell
script to launch OpenStack inside Docker.
Run supervisord&
to start all OpenStack Services.
You now have Docker running inside Docker.
The docker ps
command will show that the Docker Registry is running in a container too.
Run the install-ubuntu-image.sh
script to pull the ubuntu
image into your local Registry.
- Point your browser to
http://localhost:49802/horizon
- You will now be able to launch Docker containers inside OpenStack!
Heat has been configured with the additional Docker plugin as described here. https://github.com/dotcloud/openstack-heat-docker
That means Heat can create stacks directly with Docker instead of Nova. I'm still getting some errors with the wordpress example.
Special thanks to Jérôme Petazzoni for helping me with a previous DNS/Networking problem. Find out more from his blog entry here http://jpetazzo.github.io/2013/10/16/configure-docker-bridge-network/
MIT License. Copyright (c) 2015 Ming Fang