Update cli.md
Use `-it` combination in example instead of `-ti`, because this is how it used everywhere in examples. Update dockerfile_best-practices.md Fix typo in command name Signed-off-by: Dmitry Gusev <dmitry.gusev@gmail.com>
This commit is contained in:
parent
f5850e8e30
commit
39b3690ba1
2 changed files with 3 additions and 3 deletions
|
@ -357,7 +357,7 @@ It can simply start Postgres:
|
|||
|
||||
Or, it can be used to run Postgres and pass parameters to the server:
|
||||
|
||||
$ docker run postgres postres --help
|
||||
$ docker run postgres postgres --help
|
||||
|
||||
Lastly, it could also be used to start a totally different tool, such Bash:
|
||||
|
||||
|
|
|
@ -33,8 +33,8 @@ To list the help on any command just execute the command, followed by the `--hel
|
|||
## Option types
|
||||
|
||||
Single character command line options can be combined, so rather than
|
||||
typing `docker run -t -i --name test busybox sh`,
|
||||
you can write `docker run -ti --name test busybox sh`.
|
||||
typing `docker run -i -t --name test busybox sh`,
|
||||
you can write `docker run -it --name test busybox sh`.
|
||||
|
||||
### Boolean
|
||||
|
||||
|
|
Loading…
Reference in a new issue