Merge pull request #5143 from stefanb2/topic-pr-4477-2

docs: add workaround for --device with rootless containers (II)
This commit is contained in:
OpenShift Merge Robot
2020-02-10 14:52:19 +01:00
committed by GitHub
3 changed files with 3 additions and 3 deletions

View File

@ -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**

View File

@ -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*

View File

@ -213,7 +213,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*