github.com/containers/podman/v5@v5.1.0-rc1/docs/source/markdown/options/workdir.md (about) 1 ####> This option file is used in: 2 ####> podman create, exec, run 3 ####> If file is edited, make sure the changes 4 ####> are applicable to all of those. 5 #### **--workdir**, **-w**=*dir* 6 7 Working directory inside the container. 8 9 The default working directory for running binaries within a container is the root directory (**/**). 10 The image developer can set a different default with the WORKDIR instruction. The operator 11 can override the working directory by using the **-w** option.