On Fri, 3 Jul 2020 16:33:42 +0200
Tamer Higazi <th9...@googlemail.com> wrote:

> Thanks Michael!
> 
> I'll give it a try.
> 
> 
> best, Tamer
> 
> Am 3 Jul 2020 um 15:46 schrieb Michael:
> > On Friday, 3 July 2020 14:33:52 BST Tamer Higazi wrote:  
> >> Hi people,
> >>
> >> I had a problem with docker on gentoo and found the solution for
> >> all my
> >>
> >> problems with a custom mount command:
> >> |sudo mount -t cgroup -o none,name=systemd cgroup
> >> /sys/fs/cgroup/systemd
> >>
> >> Can anybody of you tell me how to add that one in /etc/fstab file ?
> >> best, Tamer |  
> > I haven't used cgroups or docker, but if your mount command above
> > is correct, I assume something like this ought to work as far as
> > fstab is concerned:
> >
> > cgroup  /sys/fs/cgroup/systemd  cgroup  none,name=systemd  0 1
> >  
> 

Hi,

Not sure if this may help but there is a library which you can install
called dev-libs/libcgroup which has an init program /etc/init.d/cgconfig

In the config file /etc/cgroup/cgconfig I have 

mount {
    "name=systemd" = /sys/fs/cgroup/systemd;
}

which allows lxd containers to run using systemd


Not sure if this what you are after but maybe of use. It allows me to
run Arch linux containers in Gentoo.

John

Reply via email to