mirror of https://github.com/docker/cli.git
Long format for flag -w --workdir
Added Long format for the wok directory option in docker run. Signed-off-by: Andres LeonRangel <aleon1220@gmail.com>
This commit is contained in:
parent
5836f20c28
commit
dc287b9072
|
@ -1769,7 +1769,7 @@ the `USER` instruction by passing the `-u` option.
|
||||||
### WORKDIR
|
### WORKDIR
|
||||||
|
|
||||||
The default working directory for running binaries within a container is the
|
The default working directory for running binaries within a container is the
|
||||||
root directory (`/`), but the developer can set a different default with the
|
root directory (`/`). It is possible to set a different working directory with the
|
||||||
Dockerfile `WORKDIR` command. The operator can override this with:
|
Dockerfile `WORKDIR` command. The operator can override this with:
|
||||||
|
|
||||||
-w="": Working directory inside the container
|
-w="", --workdir="": Working directory inside the container
|
||||||
|
|
Loading…
Reference in New Issue