aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2018-10-23 15:18:14 -0700
committerGitHub <noreply@github.com>2018-10-23 15:18:14 -0700
commita9929b40dcd85a51d96fd5f0b35247ff73f6315a (patch)
tree2af04306d64a5719a9751856a11bd7e8352ea931
parent37e9e5667e2ed6b790d5d8271509ef93d2935083 (diff)
parentc285bd664e2a61562ff31778029f4cab7d931a5b (diff)
downloadpodman-a9929b40dcd85a51d96fd5f0b35247ff73f6315a.tar.gz
podman-a9929b40dcd85a51d96fd5f0b35247ff73f6315a.tar.bz2
podman-a9929b40dcd85a51d96fd5f0b35247ff73f6315a.zip
Merge pull request #1684 from QiWang19/deviceman
Explain the device format in man pages
-rw-r--r--docs/podman-create.1.md2
-rw-r--r--docs/podman-run.1.md2
2 files changed, 2 insertions, 2 deletions
diff --git a/docs/podman-create.1.md b/docs/podman-create.1.md
index 509d8820f..5a4d7fb5a 100644
--- a/docs/podman-create.1.md
+++ b/docs/podman-create.1.md
@@ -178,7 +178,7 @@ Override the key sequence for detaching a container. Format is a single characte
**--device**=[]
-Add a host device to the container (e.g. --device=/dev/sdc:/dev/xvdc:rwm)
+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)
**--device-read-bps**=[]
diff --git a/docs/podman-run.1.md b/docs/podman-run.1.md
index c303492e7..b708e3407 100644
--- a/docs/podman-run.1.md
+++ b/docs/podman-run.1.md
@@ -182,7 +182,7 @@ Override the key sequence for detaching a container. Format is a single characte
**--device**=[]
-Add a host device to the container (e.g. --device=/dev/sdc:/dev/xvdc:rwm)
+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)
**--device-read-bps**=[]