mirror of
https://github.com/containers/podman.git
synced 2025-10-17 03:04:21 +08:00

This reverts commit c12b1b32bc165766c1aa229ca05432c75cc74c3b. The content contains incorrect information and misses a lot of details from the previous page that must be restored. Signed-off-by: Paul Holzinger <pholzing@redhat.com>
483 B
483 B
####> This option file is used in: ####> podman create, exec, run ####> If file is edited, make sure the changes ####> are applicable to all of those.
--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.