mirror of
https://github.com/containers/podman.git
synced 2025-08-06 03:19:52 +08:00
Man pages: Refactor common options: --workdir
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>
This commit is contained in:
@ -1034,13 +1034,7 @@ If the location of the volume from the source container overlaps with
|
||||
data residing on a target container, then the volume hides
|
||||
that data on the target.
|
||||
|
||||
#### **--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.
|
||||
@@option workdir
|
||||
|
||||
## Exit Status
|
||||
|
||||
|
Reference in New Issue
Block a user