mirror of
https://github.com/opencontainers/runc.git
synced 2026-07-11 06:03:57 +08:00
Add error message
* Updated cgroups-v2 documentation to mention dbus-user-session requirement * Added friendlier error message Signed-off-by: Aos Dabbagh <aosdab@gmail.com>
This commit is contained in:
@@ -24,6 +24,13 @@ On cgroup v2 hosts, it is highly recommended to run runc with the systemd cgroup
|
||||
|
||||
The recommended systemd version is 244 or later. Older systemd does not support delegation of `cpuset` controller.
|
||||
|
||||
Make sure you also have the `dbus-user-session` (Debian/Ubuntu) or `dbus-daemon` (CentOS/Fedora) package installed, and that `dbus` is running. On Debian-flavored distros, this can be accomplished like so:
|
||||
|
||||
```console
|
||||
$ sudo apt install -y dbus-user-session
|
||||
$ systemctl --user start dbus
|
||||
```
|
||||
|
||||
## Rootless
|
||||
On cgroup v2 hosts, rootless runc can talk to systemd to get cgroup permissions to be delegated.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user