aboutsummaryrefslogtreecommitdiff
path: root/docs/source/markdown/podman-build.1.md.in
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2022-09-06 17:52:23 +0200
committerGitHub <noreply@github.com>2022-09-06 17:52:23 +0200
commit6da1eaf287c13a67dde688663b4dc8ed0cd868ad (patch)
tree0917509296e95f7fcf0bc02fd1c10d8dfe87ec67 /docs/source/markdown/podman-build.1.md.in
parent41e1642f5603be8b0a48b0be4d5bcc5652173b1a (diff)
parent40cd1c0ff5d4c1e99e51cf60046c957a1a6ba81e (diff)
downloadpodman-6da1eaf287c13a67dde688663b4dc8ed0cd868ad.tar.gz
podman-6da1eaf287c13a67dde688663b4dc8ed0cd868ad.tar.bz2
podman-6da1eaf287c13a67dde688663b4dc8ed0cd868ad.zip
Merge pull request #15650 from edsantiago/docs_dedup_device
[CI:DOCS] Man pages: refactor common options: --device
Diffstat (limited to 'docs/source/markdown/podman-build.1.md.in')
-rw-r--r--docs/source/markdown/podman-build.1.md.in11
1 files changed, 1 insertions, 10 deletions
diff --git a/docs/source/markdown/podman-build.1.md.in b/docs/source/markdown/podman-build.1.md.in
index bc1e03e4c..29d792aaa 100644
--- a/docs/source/markdown/podman-build.1.md.in
+++ b/docs/source/markdown/podman-build.1.md.in
@@ -205,16 +205,7 @@ keys and/or certificates. Decryption will be tried with all keys. If the key is
protected by a passphrase, it is required to be passed in the argument and
omitted otherwise.
-#### **--device**=*host-device[:container-device][:permissions]*
-
-Add a host device to the container. Optional *permissions* parameter
-can be used to specify device permissions, it is combination of
-**r** for read, **w** for write, and **m** for **mknod**(2).
-
-Example: **--device=/dev/sdc:/dev/xvdc:rwm**.
-
-Note: if *host-device* is a symbolic link then it will be resolved first.
-The container will only store the major and minor numbers of the host device.
+@@option device
Note: if the user only has access rights via a group, accessing the device
from inside a rootless container will fail. The **[crun(1)](https://github.com/containers/crun/tree/main/crun.1.md)** runtime offers a