diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2019-02-16 17:31:51 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-16 17:31:51 +0100 |
commit | 1cb16bd24bc86450d99b4cb25601b0b040c49b86 (patch) | |
tree | 577a699f2c722e161c8a2db2b1e3ac54521d76ef /docs | |
parent | 0a521e139faa0c7f1d9b6c9e647c350c1b7c4e04 (diff) | |
parent | 72b91eb87f7a9c8e637f337e078b4adab4198f33 (diff) | |
download | podman-1cb16bd24bc86450d99b4cb25601b0b040c49b86.tar.gz podman-1cb16bd24bc86450d99b4cb25601b0b040c49b86.tar.bz2 podman-1cb16bd24bc86450d99b4cb25601b0b040c49b86.zip |
Merge pull request #2341 from TomSweeneyRedHat/dev/tsweeney/helpexamples2
Second chunk of Cobra help
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) |