mirror of https://github.com/containers/podman.git
15 lines
617 B
Markdown
15 lines
617 B
Markdown
#### **--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.
|