Re: [vserver] CentOS 7

From: Laurent Spagnol <laurent.spagnol_at_univ-reims.fr>
Date: Sun 20 Jan 2019 - 14:33:08 GMT
Message-ID: <4c7be758-4a82-b90f-9e94-2cc8cc2f63b4@univ-reims.fr>

Hi,

Le 20/01/2019 à 09:50, Alber Lvs a écrit :
> On 17-01-19 09:05, Alber Lvs wrote:
>
>> LXD is being packaged for Debian, while the older LXC is packaged for
>> Debian.
>> I must say I much prefer LXD over LXC.
>> With Ubuntu as LXD (or LXC) host you will likely have a much easier time
>> installing and maintaining time than having LXC or maybe in the future
>> LXD on Debian.
>
> Quite some negative voices about LXC on this mailing list.
> When I tried LXC years ago it was a sad state of affairs indeed. But
> Debian Linux was going to drop kernel support for Linux Vserver, and
> they hinted in the Debian wiki that LXC would be the future, so I hopes
> for LXC progress.
> Every now and then I looked at LXC and it was only making slow progress,
> and the command line tools were very cumbersome to use.
>
> However, LXD is very different. Easy to set up in Ubuntu.
> It has nice command line name completion.
> For example, type in : sudo lxc exec t.. <tab> and it will complete to
> sudo lxc exec test-server (Where test-server is the name of your container).
> By default LXD creates containers which have a different root UIG/GID in
> the containers for security reasons. That can cause some confusion when
> you are copying files as root from the host to a container directory,
> but once you understand how to fix those permissions it is fine.
>
> With LXD you can even run Docker inside a container!

With LXC too, and you can run LXC containers inside LXC container =>
"nested" containers.

There is no diffence beetween LXC and LXD in terms of functionalities.
It's just the same thing !!

LXC is based on a flat configuration file, it's very simple to use,
especially on a single host.

LXD is "cluster" oriented, based on a deamon, and containers's
configuruations are in a database (SQLite if i rememmber).

LXD is the default on Ubuntu Server. It's a good choice fot beginers.

But I prefers "old school flat files", so i remove LXD and use "old
style" LXC. It is more simple with complex configurations !

I was a fan of Linux-Vserver, i have wroted some scripts to play with
VLANs, conditional routing and netfilter (this was a long time ago,
before "veth" ...) but finally i choose LXC when it was good enough for
"production". I use it for years (mostly over ZFS), it works like a charms.

LS

>
> https://blog.simos.info/how-to-run-docker-in-a-lxd-container/
>

-- 
Laurent Spagnol
Administrateur GNU/Linux
Responsable du pôle système
Service réseau et télécom
Direction du Numérique
Université de Reims
Campus du Moulin de la Housse
Bâtiment 3
BP 1039 - 51687 Reims cedex 2
Plan d'accès : https://frama.link/DN-URCA
Tel: +33 3 26 91 88 32
Fax: +33 3 26 91 31 87
https://numerique.univ-reims.fr
Received on Sun Jan 20 14:21:20 2019
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Sun 20 Jan 2019 - 14:21:20 GMT by hypermail 2.1.8