diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2019-01-08 10:21:14 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-08 10:21:14 -0800 |
commit | c9d63fe89d0a79b069b56249aaa4c168b47649c0 (patch) | |
tree | e76db2f0730eb41a0ed7785cc590dfc14bfe6929 /docs/podman-exec.1.md | |
parent | 757906189eabbc56a3b7e9723e9f72c3ccc654b0 (diff) | |
parent | 867669374c3fdd39f2629e53cbe7430f1bc3e085 (diff) | |
download | podman-c9d63fe89d0a79b069b56249aaa4c168b47649c0.tar.gz podman-c9d63fe89d0a79b069b56249aaa4c168b47649c0.tar.bz2 podman-c9d63fe89d0a79b069b56249aaa4c168b47649c0.zip |
Merge pull request #2097 from debarshiray/wip/debarshiray/podman-exec-workdir
Add a --workdir option to 'podman exec'
Diffstat (limited to 'docs/podman-exec.1.md')
-rw-r--r-- | docs/podman-exec.1.md | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/podman-exec.1.md b/docs/podman-exec.1.md index 284fa5a4a..77317b0ca 100644 --- a/docs/podman-exec.1.md +++ b/docs/podman-exec.1.md @@ -38,6 +38,14 @@ Sets the username or UID used and optionally the groupname or GID for the specif The following examples are all valid: --user [user | user:group | uid | uid:gid | user:gid | uid:group ] +**--workdir**, **-w**="" + +Working directory inside the container + +The default working directory for running binaries within a container is the root directory (/). +The image developer can set a different default with the WORKDIR instruction, which can be overridden +when creating the container. + ## SEE ALSO podman(1), podman-run(1) |