Browse Source

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>
Dmitry Gusev 10 years ago
parent
commit
39b3690ba1

+ 1 - 1
docs/sources/articles/dockerfile_best-practices.md

@@ -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:
 

+ 2 - 2
docs/sources/reference/commandline/cli.md

@@ -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