Gentoo Archives: gentoo-user

From: Nikos Chantziaras <realnc@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: custom mount fstab
Date: Sat, 04 Jul 2020 03:00:29
Message-Id: rdorbv$1bg$1@ciao.gmane.io
In Reply to: [gentoo-user] custom mount fstab by Tamer Higazi
1 On 03/07/2020 16:33, Tamer Higazi wrote:
2 > Hi people,
3 >
4 > I had a problem with docker on gentoo and found the solution for all my
5 > problems with a custom mount command:
6 >
7 > |sudo mount -t cgroup -o none,name=systemd cgroup /sys/fs/cgroup/systemd
8 > Can anybody of you tell me how to add that one in /etc/fstab file ?
9
10 I use docker and I don't have to add anything like that to fstab.
11 systemd mounts it automatically. However:
12
13 https://wiki.gentoo.org/wiki/Docker#Docker_service_fails_because_cgroup_device_not_mounted_.28systemd.29
14
15 So make sure to emerge systemd with the "cgroup-hybrid" USE flag set.