diff options
author | Ed Santiago <santiago@redhat.com> | 2022-08-23 10:25:04 -0600 |
---|---|---|
committer | Ed Santiago <santiago@redhat.com> | 2022-08-23 13:02:09 -0600 |
commit | 7d7aead51197fa98bb223b9e90b75ac4cd7cdf0a (patch) | |
tree | 306dc843316b9ec5918896c8c56ffe103e3a1e8e /docs/source/markdown/options | |
parent | cf9c04ae2b61d1eed32a73aad2172d3455a5a9fa (diff) | |
download | podman-7d7aead51197fa98bb223b9e90b75ac4cd7cdf0a.tar.gz podman-7d7aead51197fa98bb223b9e90b75ac4cd7cdf0a.tar.bz2 podman-7d7aead51197fa98bb223b9e90b75ac4cd7cdf0a.zip |
Man pages: refactor common options: --device-cgroup-rule
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>
Diffstat (limited to 'docs/source/markdown/options')
-rw-r--r-- | docs/source/markdown/options/device-cgroup-rule.md | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/source/markdown/options/device-cgroup-rule.md b/docs/source/markdown/options/device-cgroup-rule.md new file mode 100644 index 000000000..0ba3d4668 --- /dev/null +++ b/docs/source/markdown/options/device-cgroup-rule.md @@ -0,0 +1,6 @@ +#### **--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)). |