Ask Your Question

how can I get a devstack version working with docker in my local environment?

asked 2014-04-08 09:24:04 -0500

Ignacio Mulas gravatar image

updated 2015-08-02 19:32:39 -0500

smaffulli gravatar image

I am trying to install devstack with docker hypervisor. I found out that according to docker documentation on OpenStack wiki you should modify the localrc in order to have VIRT_DRIVER=docker and preinstall /tools/docker/ before running ./stack script.

After trying it, I realized that the package /tools/docker is gone from the devstack package:

So now I am wondering what is the best way to proceed, how can I get a devstack version working with docker in my local environment? Is a manual installation of docker and docker hypervisor the only way to get it working together with devstack?

edit retag flag offensive close merge delete


Earlier I tried stable havana: git clone -b stable/havana

Currently; in dev branch, I am also facing same issue.

SGPJ gravatar imageSGPJ ( 2014-04-08 11:21:55 -0500 )edit

Yes! I tried the same neither the stable or development branches contains the docker installation script... :(

Ignacio Mulas gravatar imageIgnacio Mulas ( 2014-04-08 14:46:11 -0500 )edit

Vote for the question instead of using the space for an answer to say 'me too'

smaffulli gravatar imagesmaffulli ( 2014-04-09 02:49:07 -0500 )edit

3 answers

Sort by ยป oldest newest most voted

answered 2014-04-11 13:12:01 -0500

SGPJ gravatar image

Docker full support will be available in icehouse release. link: And the best way to use is via heat. The preferred mechanism orchestrating Docker in OpenStack is via Heat, rather than treating Docker as a form of hypervisor in OpenStack Nova.

So we need to wait till April 17th for release.


edit flag offensive delete link more


Interesting! But I am a bit confised now. A default nova.conf will be using KVM (for example) and then though Heat you will be able to create container based VMs on the same host? This will mean that heat is overriding the default hypervisor configuration that nova is using? Is this true or I am missing something here?

Ignacio Mulas gravatar imageIgnacio Mulas ( 2014-04-12 04:36:49 -0500 )edit

answered 2014-09-24 09:32:48 -0500

syed_hussain gravatar image

Devstack Docker support is removed in icehouse. The files you are searching are present in havana devstack ./tools/docker/, Since Openstack supported docker in havana, withdrew docker for icehouse and again planning for juno. Although supported way is with heat ( as declared by docker community. If you are following , it is outdated one.

I suggest you to either go with havana devstack installation or heat way as I mentioned previously.

edit flag offensive delete link more

answered 2014-04-11 17:30:45 -0500

cloudssky gravatar image

Shankar, the Heat example shows that a cirros docker container can run inside a ubuntu instance, so whats the revolutionary aspect of this? Today I can also run my CoreOS instances with docker preinstalled, or build my own Ubuntu or CentOS image with docker.

So I guess the right answer to Ignacio's question is: the docker driver is deprecated and heat templates will help to create VM instances with docker containers running in them. But I'm curious how heat could help to run multiple instances with linked containers on different hosts via ambassador containers, but I guess this could be achieved through CoreOS clusters more easily.

edit flag offensive delete link more


You mean that you could run a VM based on KVM (for example) on you host and Heat will include the Docker driver in the VM to manage containers inside that VM and not on the host?

Ignacio Mulas gravatar imageIgnacio Mulas ( 2014-04-12 04:44:16 -0500 )edit

Ignacio, unfortunately yes, but I hope, I'm wrong here. My initial expectation was, that you can use the host with docker installed and run containers on the host as if they were VMs and manage them over OpenStack dashboard, assign network, security groups, etc.

cloudssky gravatar imagecloudssky ( 2014-04-12 04:55:51 -0500 )edit

Exactly! That was my initial though as well... Just have "light" fired container instances running on the host. Anyway, I guess this solution hopefully solves former problems when integrating Docker with Neutron and Cinder. :) Thanks for the hints!

Ignacio Mulas gravatar imageIgnacio Mulas ( 2014-04-12 07:02:44 -0500 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools



Asked: 2014-04-08 09:24:04 -0500

Seen: 3,720 times

Last updated: Aug 02 '15