Manpages: add podman exec missing example of detach option

Signed-off-by: Fernando Fernandez Mancera <ffmancera@riseup.net>
This commit is contained in:
Fernando Fernandez Mancera 2025-06-12 14:43:15 +02:00
parent 1e53cacb08
commit 085082a805
1 changed files with 5 additions and 0 deletions

View File

@ -88,6 +88,11 @@ Execute command as the specified user in selected container:
$ podman exec --user root ctrID ls $ podman exec --user root ctrID ls
``` ```
Execute command but do not attach to the exec session leaving the command running in the background:
```
$ podman exec -d ctrID find /path/to/search -name yourfile
```
## SEE ALSO ## SEE ALSO
**[podman(1)](podman.1.md)**, **[podman-run(1)](podman-run.1.md)** **[podman(1)](podman.1.md)**, **[podman-run(1)](podman-run.1.md)**