diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2019-12-17 16:38:00 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-17 16:38:00 +0100 |
commit | fab67f33930cf793d6780408406bc0305c70ff8f (patch) | |
tree | 0eb925f58c35b62b70ffe0e03c1a9366ad01a4d8 /docs/source/markdown/podman-run.1.md | |
parent | 1e440a3a3f7c7a1ac5896ae834e884c0dc3907f3 (diff) | |
parent | aec62d286296423a2f97cb376d9e11d2ea68cc8c (diff) | |
download | podman-fab67f33930cf793d6780408406bc0305c70ff8f.tar.gz podman-fab67f33930cf793d6780408406bc0305c70ff8f.tar.bz2 podman-fab67f33930cf793d6780408406bc0305c70ff8f.zip |
Merge pull request #4487 from stefanb2/topic-pr-4477
docs: add workaround for --device with rootless containers
Diffstat (limited to 'docs/source/markdown/podman-run.1.md')
-rw-r--r-- | docs/source/markdown/podman-run.1.md | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/source/markdown/podman-run.1.md b/docs/source/markdown/podman-run.1.md index e1177cb34..e8744de35 100644 --- a/docs/source/markdown/podman-run.1.md +++ b/docs/source/markdown/podman-run.1.md @@ -210,6 +210,10 @@ Specify the key sequence for detaching a container. Format is a single character Add a host device to the container. The format is `<device-on-host>[:<device-on-container>][:<permissions>]` (e.g. --device=/dev/sdc:/dev/xvdc:rwm) +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`. + **--device-read-bps**=*path* Limit read rate (bytes per second) from a device (e.g. --device-read-bps=/dev/sda:1mb) |