mirror of
https://github.com/containers/podman.git
synced 2025-06-01 17:17:47 +08:00

The refactors are starting to get harder to review - sorry. Here the differences are pretty small, mostly changes to the "it is a combination" wording and some asteriskization. The more significant diffs are that there are some Notes that are pod- or container- or build-specific; I needed to move those from the middle to the end, then keep them in the source files themselves. I don't think this affects readability of the resulting man pages, but your opinion may differ. Last important thing: I included the /dev/fuse text in the common option, which means it will now show up in podman-build (it was not previously there). If this text is not applicable to podman-build, please LMK ASAP so I can just move it back to individual source files. Signed-off-by: Ed Santiago <santiago@redhat.com>
617 B
617 B
--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.