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