Make exec support --cidfile.

Fixes: #21256

Signed-off-by: Martin Glatzle <findessp@yandex.ru>
This commit is contained in:
Martin Glatzle
2024-07-06 00:33:04 +02:00
parent b762c15e1c
commit f1527283d6
3 changed files with 73 additions and 9 deletions

View File

@ -13,6 +13,10 @@ podman\-exec - Execute a command in a running container
## OPTIONS
#### **--cidfile**=*file*
Read the ID of the target container from the specified *file*.
#### **--detach**, **-d**
Start the exec session, but do not attach to it. The command runs in the background, and the exec session is automatically removed when it completes. The **podman exec** command prints the ID of the exec session and exits immediately after it starts.