diff options
author | Debarshi Ray <rishi@fedoraproject.org> | 2019-01-08 12:53:50 +0100 |
---|---|---|
committer | Debarshi Ray <rishi@fedoraproject.org> | 2019-01-08 17:42:37 +0100 |
commit | 867669374c3fdd39f2629e53cbe7430f1bc3e085 (patch) | |
tree | ff744348a1f94cac55771eeb6e36d7ae47579ec7 /docs/podman-exec.1.md | |
parent | 9474b8cea239348d11c913b03b9461afaf663f0b (diff) | |
download | podman-867669374c3fdd39f2629e53cbe7430f1bc3e085.tar.gz podman-867669374c3fdd39f2629e53cbe7430f1bc3e085.tar.bz2 podman-867669374c3fdd39f2629e53cbe7430f1bc3e085.zip |
Add a --workdir option to 'podman exec'
Signed-off-by: Debarshi Ray <rishi@fedoraproject.org>
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) |