[Openstack-operators] DIB in container vs VM

Abel Lopez alopgeek at gmail.com
Tue Dec 8 00:55:00 UTC 2015


Sure enough, that's it.
Docker running on my Fedora 22 VM builds images.
Docker running on my mac "Error connecting to audit system."

Thanks for the help!

> On Dec 7, 2015, at 2:04 PM, Fox, Kevin M <Kevin.Fox at pnnl.gov> wrote:
> 
> 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/ <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 <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/78695bf4/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 496 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.openstack.org/pipermail/openstack-operators/attachments/20151207/78695bf4/attachment.pgp>


More information about the OpenStack-operators mailing list