Skip to content

Commit 10af448

Browse files
committed
Fix up example description of podman-exec.1.md.in
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
1 parent fbb4d5d commit 10af448

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

docs/source/markdown/podman-exec.1.md.in

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,18 @@ non-zero code, the exit codes follow the `chroot` standard, see below:
6969

7070
## EXAMPLES
7171

72+
Execute command in selected container with a stdin and a tty allocated:
7273
```
7374
$ podman exec -it ctrID ls
75+
```
76+
77+
Execute command with the overridden working directory in selected container with a stdin and a tty allocated:
78+
```
7479
$ podman exec -it -w /tmp myCtr pwd
80+
```
81+
82+
Execute command as the specified user in selected container:
83+
```
7584
$ podman exec --user root ctrID ls
7685
```
7786

0 commit comments

Comments
 (0)