mirror of
https://github.com/containers/podman.git
synced 2025-12-02 11:08:36 +08:00
I chose the version from podman-run because it is the most up-to-date, and most correct wrt current syntax guidelines. Differences are in arg description, language, and asterisks. Signed-off-by: Ed Santiago <santiago@redhat.com>
8 lines
330 B
Markdown
8 lines
330 B
Markdown
#### **--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.
|