[Openstack-operators] DIB in container vs VM

Fox, Kevin M Kevin.Fox at pnnl.gov
Mon Dec 7 22:04:07 UTC 2015


Whats the host system? It looks like its trying to apply selinux stuff. I'm not sure that's supported at all in docker. :/

It may be if your running one of the el's or fedora's as the docker host and container?

Thanks,
Kevin
________________________________
From: Abel Lopez [alopgeek at gmail.com]
Sent: Monday, December 07, 2015 1:57 PM
To: Fox, Kevin M
Cc: Clint Byrum; openstack-operators
Subject: Re: [Openstack-operators] DIB in container vs VM

Thanks for the suggestion.
I am indeed running it privileged.

One of the examples I wanted to share was: building Fedora image on an ubuntu docker image.
The error I get is in the finalize.d phase
http://paste.openstack.org/show/481088/

Error connecting to audit system.

Anyone have an idea?

On Dec 2, 2015, at 4:14 PM, Fox, Kevin M <Kevin.Fox at pnnl.gov<mailto:Kevin.Fox at pnnl.gov>> wrote:

Did you try launching the docker container with the privilege flag? dib does a lot of privileged things last I looked.

Thanks,
Kevin
________________________________________
From: Clint Byrum [clint at fewbar.com<mailto:clint at fewbar.com>]
Sent: Wednesday, December 02, 2015 3:49 PM
To: openstack-operators
Subject: Re: [Openstack-operators] DIB in container vs VM

Excerpts from Abel Lopez's message of 2015-12-01 16:16:08 -0800:
Hey everyone,
I've been running diskimage-builder just fine for over a year inside various VMs, but now, I'm having to run it inside a docker container.
I'm curious if anyone has experience with making the 'ubuntu latest' docker hub image more like a VM.

For example, I can `vagrant up` the trusty image from vagrant cloud, and every image I attempt to make "JUST WORKS"
When I try the same things with `docker run` things fail left right and center.

I figure there is some combination of packages that need to be installed, or services that need to be running, or mount points that need to exist to make this happen.

I can't really comment without seeing specifics, but I can say that
requirements _should_ be listed here:

http://docs.openstack.org/developer/diskimage-builder/user_guide/installation.html

_______________________________________________
OpenStack-operators mailing list
OpenStack-operators at lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators

_______________________________________________
OpenStack-operators mailing list
OpenStack-operators at lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-operators/attachments/20151207/e54b99c5/attachment.html>


More information about the OpenStack-operators mailing list