Ask Your Question
3

How do I store docker images on glance?

asked 2014-07-15 11:55:36 -0500

lester gravatar image

I want to create an openstack instance using a docker image. I'm trying to follow this tutorial here: https://wiki.openstack.org/wiki/Docker but I'm having trouble making it work. Is there an easier way to push docker images on glance so I can boot an openstack instance from that image?

edit retag flag offensive close merge delete

3 answers

Sort by ยป oldest newest most voted
5

answered 2014-07-15 12:18:33 -0500

SGPJ gravatar image

Please refer below 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, so the docker driver is deprecated and heat templates will help to create VM instances with docker containers running in them.

edit flag offensive delete link more
1

answered 2015-05-23 05:19:05 -0500

dbaxps gravatar image

updated 2015-05-25 17:18:58 -0500

Nova Docker driver is not deprecated and works fine on RDO Kilo on CentOS 7.1 && Fedora 21.
http://git.openstack.org/cgit/stackfo...
http://git.openstack.org/cgit/stackfo...
Regarding install procedure , view for instance :-
http://bderzhavets.blogspot.com/2015/...
Same aproach ( just check for python-pip, python-pbr versions, upgrade via rawhide might be needed) would work on F21.

Moreover I have RDO Kilo Compute Node ( CentOS 7.1) running Nova-Docker Hypervisor
Stable branch for Kilo was checked out to make a  build.

Regarding details NovaDocker Driver set up on RDO Kilo (F21) view :- http://bderzhavets.blogspot.com/2015/...
Regarding Ubuntu 14.04 view : http://bderzhavets.blogspot.com/2015/...

edit flag offensive delete link more
1

answered 2014-07-31 15:33:27 -0500

naveenkothamasu gravatar image

The guide you are referring to is for OpenStack Havana. In this release, docker was treated as a type of hypervisor. As mentioned by other users, it has been changed in the next OpenStack release (Icehouse)

docker save samalba/hipache | glance image-create --is-public=True --container-format=docker --disk-format=raw --name samalba/hipache

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

Stats

Asked: 2014-07-15 11:55:36 -0500

Seen: 1,616 times

Last updated: May 25 '15