Skip to content

Commit

Permalink
docs: add workaround for --device with rootless containers (II)
Browse files Browse the repository at this point in the history
Update documentation for crun >= 0.11.

See containers/crun@6df9308

Fixes containers#4477

Signed-off-by: Stefan Becker <[email protected]>
  • Loading branch information
stefanb2 authored and snj33v committed May 31, 2020
1 parent 068de8e commit 58b144f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/source/markdown/podman-build.1.md
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ Add a host device to the container. The format is `<device-on-host>[:<device-on-

Note: if the user only has access rights via a group then accessing the device
from inside a rootless container will fail. The `crun` runtime offers a
workaround for this by adding the option `--annotation io.crun.keep_original_groups=1`.
workaround for this by adding the option `--annotation run.oci.keep_original_groups=1`.

**--disable-compression, -D**

Expand Down
2 changes: 1 addition & 1 deletion docs/source/markdown/podman-create.1.md
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ Add a host device to the container. The format is `<device-on-host>[:<device-on-

Note: if the user only has access rights via a group then accessing the device
from inside a rootless container will fail. The `crun` runtime offers a
workaround for this by adding the option `--annotation io.crun.keep_original_groups=1`.
workaround for this by adding the option `--annotation run.oci.keep_original_groups=1`.

**--device-read-bps**=*path*

Expand Down
2 changes: 1 addition & 1 deletion docs/source/markdown/podman-run.1.md
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ Add a host device to the container. The format is `<device-on-host>[:<device-on-

Note: if the user only has access rights via a group then accessing the device
from inside a rootless container will fail. The `crun` runtime offers a
workaround for this by adding the option `--annotation io.crun.keep_original_groups=1`.
workaround for this by adding the option `--annotation run.oci.keep_original_groups=1`.

**--device-read-bps**=*path*

Expand Down

0 comments on commit 58b144f

Please sign in to comment.