From 39b3690ba1801b36c1f43fa220ae5128958a0739 Mon Sep 17 00:00:00 2001 From: Dmitry Gusev Date: Fri, 27 Feb 2015 17:45:37 +0300 Subject: [PATCH] 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 --- docs/sources/articles/dockerfile_best-practices.md | 2 +- docs/sources/reference/commandline/cli.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/sources/articles/dockerfile_best-practices.md b/docs/sources/articles/dockerfile_best-practices.md index 4c939c1d32..2ea796582d 100644 --- a/docs/sources/articles/dockerfile_best-practices.md +++ b/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: diff --git a/docs/sources/reference/commandline/cli.md b/docs/sources/reference/commandline/cli.md index 345d11fcc0..38e9e3f3d5 100644 --- a/docs/sources/reference/commandline/cli.md +++ b/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