summaryrefslogtreecommitdiff
path: root/docs/source/markdown/options
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2022-08-24 07:41:41 -0400
committerGitHub <noreply@github.com>2022-08-24 07:41:41 -0400
commit1e97aa3439dc8c6c2adffd659bded9f6116c91c5 (patch)
tree99e9a9dda8607b99fdaa0ad1b8cfe27bf2b67554 /docs/source/markdown/options
parentd4e54fa9992d369596bcaf969bea8dbbcb7335ab (diff)
parentc64a6ba07205c2f9fa2a874d9343babf68ee21d2 (diff)
downloadpodman-1e97aa3439dc8c6c2adffd659bded9f6116c91c5.tar.gz
podman-1e97aa3439dc8c6c2adffd659bded9f6116c91c5.tar.bz2
podman-1e97aa3439dc8c6c2adffd659bded9f6116c91c5.zip
Merge pull request #15449 from edsantiago/docs_dedup_workdir
[CI:DOCS] Man pages: Refactor common options: --workdir
Diffstat (limited to 'docs/source/markdown/options')
-rw-r--r--docs/source/markdown/options/workdir.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/source/markdown/options/workdir.md b/docs/source/markdown/options/workdir.md
new file mode 100644
index 000000000..12f3ddd44
--- /dev/null
+++ b/docs/source/markdown/options/workdir.md
@@ -0,0 +1,7 @@
+#### **--workdir**, **-w**=*dir*
+
+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. The operator
+can override the working directory by using the **-w** option.