summaryrefslogtreecommitdiff
path: root/docs/source/markdown/options/workdir.md
blob: 12f3ddd44b119c020194de865a7df5ed29c88149 (plain)
1
2
3
4
5
6
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.