From 0b34327ad40e04861dac7f73870d87633a5c637e Mon Sep 17 00:00:00 2001 From: Giuseppe Scrivano Date: Mon, 25 Feb 2019 11:44:06 +0100 Subject: 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 --- docs/podman-exec.1.md | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'docs') 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. -- cgit v1.2.3-54-g00ecf