diff options
author | TomSweeneyRedHat <tsweeney@redhat.com> | 2019-02-14 17:12:16 -0500 |
---|---|---|
committer | TomSweeneyRedHat <tsweeney@redhat.com> | 2019-02-15 14:38:46 -0500 |
commit | 72b91eb87f7a9c8e637f337e078b4adab4198f33 (patch) | |
tree | 65b3a931f14ca3db890afbbe34ead5d5ded5c0a1 /docs | |
parent | 9c1b08fd79012c12d478edb13f6057a0414762db (diff) | |
download | podman-72b91eb87f7a9c8e637f337e078b4adab4198f33.tar.gz podman-72b91eb87f7a9c8e637f337e078b4adab4198f33.tar.bz2 podman-72b91eb87f7a9c8e637f337e078b4adab4198f33.zip |
Second chunk of Cobra help
Signed-off-by: TomSweeneyRedHat <tsweeney@redhat.com>
Adds examples to Cobra help for a second chunk of commands.
Signed-off-by: TomSweeneyRedHat <tsweeney@redhat.com>
Diffstat (limited to 'docs')
-rw-r--r-- | docs/podman-exec.1.md | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/docs/podman-exec.1.md b/docs/podman-exec.1.md index 77317b0ca..6f464a8f2 100644 --- a/docs/podman-exec.1.md +++ b/docs/podman-exec.1.md @@ -4,7 +4,7 @@ podman\-exec - Execute a command in a running container ## SYNOPSIS -**podman exec** *container* [*options*] [*command* [*arg* ...]] +**podman exec** [*options*] *container* [*command* [*arg* ...]] ## DESCRIPTION **podman exec** executes a command in a running container. @@ -46,6 +46,12 @@ The default working directory for running binaries within a container is the roo The image developer can set a different default with the WORKDIR instruction, which can be overridden when creating the container. +## EXAMPLES + +$ podman exec -it ctrID ls +$ podman exec -it -w /tmp myCtr pwd +$ podman exec --user root ctrID ls + ## SEE ALSO podman(1), podman-run(1) |