Subject: Re: [vserver] CentOS 7
From: roman.pretory@austrianonlines.com
Date: Sun, 20 Jan 2019 19:59:13 +0100

Laurent,

At first thanks for infos, :-)

I have look on it for 60min, in this time i have a running vserver on 
CentOs7 with LXD, troubles to config to run on a own interface, but this 
could be fixed spending more time, the main trouble a have with the 
differt uid's, and thats comming from Ubuntu => so Lts 3 years not part 
of Centos if this is a good choice, but which options are left.

Nice page good infos, doku, well done, but vserver is now running on my 
servers since Rh9, why did't they get it run, no Enterpise Disto no 
Debian no ... works anymore what are the patch for???

And by the way is it not awful LXD posts on this list?, from so much 
users, and I'm frustrated to get not direkt answer like yes working on 
it, no never, fuck off, anything i could work with, planning future with 
or without.

Did't really anyone use those Distros without systemd, for what if ??

BRG Roman









Am 2019-01-20 15:33, schrieb Laurent Spagnol:
> 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