aboutsummaryrefslogtreecommitdiff
path: root/docs/podman-exec.1.md
diff options
context:
space:
mode:
authorGiuseppe Scrivano <gscrivan@redhat.com>2019-02-25 11:44:06 +0100
committerGiuseppe Scrivano <gscrivan@redhat.com>2019-03-02 11:45:42 +0100
commit0b34327ad40e04861dac7f73870d87633a5c637e (patch)
treef7f601f616e34bd749a39f46bec66da4f0abaaf0 /docs/podman-exec.1.md
parent9adcda73892fa0a33cbdf971ad97cf079e8e425f (diff)
downloadpodman-0b34327ad40e04861dac7f73870d87633a5c637e.tar.gz
podman-0b34327ad40e04861dac7f73870d87633a5c637e.tar.bz2
podman-0b34327ad40e04861dac7f73870d87633a5c637e.zip
exec: support --preserve-fds
Allow to pass additional FDs to the process being executed. Closes: https://github.com/containers/libpod/issues/2372 Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
Diffstat (limited to 'docs/podman-exec.1.md')
-rw-r--r--docs/podman-exec.1.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/podman-exec.1.md b/docs/podman-exec.1.md
index 14088b468..b74713b0b 100644
--- a/docs/podman-exec.1.md
+++ b/docs/podman-exec.1.md
@@ -26,6 +26,10 @@ to run containers such as CRI-O, the last started container could be from eithe
The latest option is not supported on the remote client.
+**--preserve-fds=N**
+
+Pass down to the process N additional file descriptors (in addition to 0, 1, 2). The total FDs will be 3+N.
+
**--privileged**
Give the process extended Linux capabilities when running the command in container.