Skip to content

Commit 25a1681

Browse files
authored
Merge pull request #6050 from brlin-tw/patch-1
docs: run: Drop unnecessary command options of the --workdir example
2 parents 58d318b + 75d54ac commit 25a1681

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/reference/commandline/container_run.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -388,7 +388,7 @@ none 1.9G 0 1.9G 0% /mnt
388388
### <a name="workdir"></a> Set working directory (-w, --workdir)
389389

390390
```console
391-
$ docker run -w /path/to/dir/ -i -t ubuntu pwd
391+
$ docker run -w /path/to/dir/ ubuntu pwd
392392
```
393393

394394
The `-w` option runs the command executed inside the directory specified, in this example,

0 commit comments

Comments
 (0)