Re: Building in docker?

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



On Wed, Sep 03, 2014 at 10:26:11PM +0200, Magnus Therning wrote:
> Oki, I've never looked at lxc, I was under the impression that docker
> used to build on lxc in the past.  Is that not true any longer?

It was true, yes, but I don't think it is now. Although, I can't find a link
ATM.

> Is there a template included for Arch?  That would be quite nice
> because building the docker image for Arch is a bit ugly I'd say....

Yes. It is a bit messy IMHO because it is being maintaned by several people...
So, I always manually create my containers, but then again, I always have a
config lying around.

> 
> Finally, what about running a 32bit container on a 64bit host?  I've
> not managed to find any indication that this is officially supported
> in docker, but it seems to work just fine.

This is supported.

> 
> > > Docker has some nice attributes, in particular no need for root
> > > access.  However, I don't know a whole lot about it, so I wonder are
> > 
> > Where do you take this from? Rootless containers require a specific
> > host kernel configuration (which -ARCH kernels don't have).
> 
> Well, I'm probably imprecise here.  What I meant was that after the
> service has been started (which requires root) any user in the docker
> group can start images.

Yeah, I kinda dislike these "daemon + privileged group" things -- reminds me of
polkit.

With lxc, you'll need to have a container running and connect to it via SSH or
VNC. For me this is OK because my build container is on a desktop and I usually
access it from a laptop...

HTH,
-- 
Leonid Isaev
GPG fingerprints: DA92 034D B4A8 EC51 7EA6  20DF 9291 EE8A 043C B8C4
                  C0DF 20D0 C075 C3F1 E1BE  775A A7AE F6CB 164B 5A6D

Attachment: pgpMKMwTpmoBW.pgp
Description: PGP signature


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux