diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2022-09-06 17:52:23 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-06 17:52:23 +0200 |
commit | 6da1eaf287c13a67dde688663b4dc8ed0cd868ad (patch) | |
tree | 0917509296e95f7fcf0bc02fd1c10d8dfe87ec67 /docs/source/markdown/options | |
parent | 41e1642f5603be8b0a48b0be4d5bcc5652173b1a (diff) | |
parent | 40cd1c0ff5d4c1e99e51cf60046c957a1a6ba81e (diff) | |
download | podman-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/options')
-rw-r--r-- | docs/source/markdown/options/device.md | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/docs/source/markdown/options/device.md b/docs/source/markdown/options/device.md new file mode 100644 index 000000000..619c70a9b --- /dev/null +++ b/docs/source/markdown/options/device.md @@ -0,0 +1,14 @@ +#### **--device**=*host-device[:container-device][:permissions]* + +Add a host device to the <<container|pod>>. Optional *permissions* parameter +can be used to specify device permissions by combining +**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|pod>> will only store the major and minor numbers of the host device. + +Podman may load kernel modules required for using the specified +device. The devices that Podman will load modules for when necessary are: +/dev/fuse. |