Code Monkey home page Code Monkey logo

docker-openstack's Introduction

docker-openstack

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

Prepare Vagrant

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.

Start OpenStack container

After building the image using the build script, use shell script to launch OpenStack inside Docker.

Start OpenStack Services

Run supervisord& to start all OpenStack Services.

Docker in Docker

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.

Using Horizon

  1. Point your browser to http://localhost:49802/horizon
  2. You will now be able to launch Docker containers inside OpenStack!

Heat

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/

docker-openstack's People

Contributors

mingfang avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.