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