mirror of
https://github.com/containers/podman.git
synced 2025-06-02 02:26:52 +08:00

I chose the version from podman-create. (This is unusual. podman-run tends to have the better-maintained, more up-to-date version.) Signed-off-by: Ed Santiago <santiago@redhat.com>
7 lines
404 B
Markdown
7 lines
404 B
Markdown
#### **--device-cgroup-rule**=*"type major:minor mode"*
|
|
|
|
Add a rule to the cgroup allowed devices list. The rule is expected to be in the format specified in the Linux kernel documentation (Documentation/cgroup-v1/devices.txt):
|
|
- type: a (all), c (char), or b (block);
|
|
- major and minor: either a number, or * for all;
|
|
- mode: a composition of r (read), w (write), and m (mknod(2)).
|