Re: Building in docker?

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



On Wed, Sep 03, 2014 at 09:04:37AM +0200, Magnus Therning wrote:
> For various reasons I'm looking into not using `makechrootpkg` when
> building the 200+ packages I put into a non-official repo.  Obviously
> it's important to keep the building environment separate from my
> ordinary system environment.  Going to full virtualisation is
> definitely overkill and the only containers I know of are chroots and
> docker.

If by chroot you mean also nspawn, then it is mostly equivalent to docker and
lxc. The only thing bad about systemd-nspawn is its lack of easy config through
files (it only supports cmdline switches which is ridiculously cumbersome).
Also, docker is more complex than a plain lxc-tools approach.

So, I would go with lxc as the simplest and most flexible solution. In fact,
that's how I build my packages.

> 
> 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).

Cheers,
-- 
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: pgpabM55d9V87.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