Re: Running docker in a mock chroot

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



----- Original Message -----
> From: "Miroslav Suchý" <msuchy@xxxxxxxxxx>
> To: devel@xxxxxxxxxxxxxxxxxxxxxxx
> Sent: Thursday, November 6, 2014 10:31:31 AM
> Subject: Re: Running docker in a mock chroot
> 
> On 11/05/2014 11:45 PM, Dridi Boukelmoune wrote:
> > I haven't really tried, I only wanted to look at fig 1.0 currently in
> > f21 updates-testing. So I --shell'ed inside my fedora-21-x86_64
> > mock chroot after installing fig, and tried to start a docker daemon
> > in the background but it failed.
> 
> --shell was never meant as "give me isolated environment for my dirty
> testing". It is present in mock, to give you
> ability to investigate what is wrong with your failing builds and debug your
> scriptlets.

Hate to hear it :-(

> > detail at how mock creates the chroots,
> 
> It just create some files needed to run builds , symlink few /proc files and
> chroot there. Nothing less, nothing more.
> 
> Since version mock-1.2.0 there is new option --new-chroot, which will use
> systemd-nspawn instead of chroot.
> It is not enabled by default as it breaks some existing scripts.
>
> > I was just wondering whether it was actually possible to run docker
> > in a chroot, especially one built with mock!

Yes, it was possible when I tried it few months ago according to instructions from someone else. IIRC, it included several cgroup mounts and a Mock workaround. Nothing I would recommend.
-- 
Radek Holý
Associate Software Engineer
Software Management Team
Red Hat Czech
-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux