summaryrefslogtreecommitdiff
path: root/docs/source/markdown/podman-run.1.md
diff options
context:
space:
mode:
authorGiuseppe Scrivano <gscrivan@redhat.com>2020-08-03 23:05:10 +0200
committerGiuseppe Scrivano <gscrivan@redhat.com>2020-08-03 23:05:10 +0200
commit976e364a9741d10d99a71253bc69bfa8ef47a0f0 (patch)
tree7182545d271e2bebbf5659f184bd920462d5a51b /docs/source/markdown/podman-run.1.md
parent1709335cf04e947117d4ae4dca72f24f4095511b (diff)
downloadpodman-976e364a9741d10d99a71253bc69bfa8ef47a0f0.tar.gz
podman-976e364a9741d10d99a71253bc69bfa8ef47a0f0.tar.bz2
podman-976e364a9741d10d99a71253bc69bfa8ef47a0f0.zip
podman: support --mount type=devpts
Allow to create a devpts mount. This is useful for containers that bind mount /dev/ from the host but at the same time want to create a terminal. It can be used as: podman run -v /dev:/dev --mount type=devpts,target=/dev/pts ... Closes: https://github.com/containers/podman/issues/6804 Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
Diffstat (limited to 'docs/source/markdown/podman-run.1.md')
-rw-r--r--docs/source/markdown/podman-run.1.md4
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/source/markdown/podman-run.1.md b/docs/source/markdown/podman-run.1.md
index 4fdb7f81b..540590eb2 100644
--- a/docs/source/markdown/podman-run.1.md
+++ b/docs/source/markdown/podman-run.1.md
@@ -501,7 +501,7 @@ Tune a container's memory swappiness behavior. Accepts an integer between *0* an
Attach a filesystem mount to the container
-Current supported mount TYPEs are **bind**, **volume**, and **tmpfs**. <sup>[[1]](#Footnote1)</sup>
+Current supported mount TYPEs are **bind**, **volume**, **tmpfs** and **devpts**. <sup>[[1]](#Footnote1)</sup>
e.g.
@@ -513,6 +513,8 @@ Current supported mount TYPEs are **bind**, **volume**, and **tmpfs**. <sup>[[1]
type=tmpfs,tmpfs-size=512M,destination=/path/in/container
+ type=devpts,destination=/dev/pts
+
Common Options:
ยท src, source: mount source spec for bind and volume. Mandatory for bind.