diff --git a/docs/sources/reference/commandline/cli.rst b/docs/sources/reference/commandline/cli.rst index 67794a41c5b9c378398d16fdd6e978866079ec7c..99f93dea4cff680bc0938e7f7661bedb3ee48bdb 100644 --- a/docs/sources/reference/commandline/cli.rst +++ b/docs/sources/reference/commandline/cli.rst @@ -20,8 +20,12 @@ To list available commands, either run ``docker`` with no parameters or execute .. _cli_options: -Types of Options ----------------- +Options +------- + +Single character commandline 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``. Boolean ~~~~~~~ diff --git a/docs/sources/use/basics.rst b/docs/sources/use/basics.rst index 24c22bba3927244f0439ce1ccf22f7a2827a887d..a301e34a9140c262ecb257779d7d1270b11dd23f 100644 --- a/docs/sources/use/basics.rst +++ b/docs/sources/use/basics.rst @@ -51,7 +51,7 @@ Running an interactive shell # To detach the tty without exiting the shell, # use the escape sequence Ctrl-p + Ctrl-q # note: This will continue to exist in a stopped state once exited (see "docker ps -a") - sudo docker run -i -t ubuntu /bin/bash + sudo docker run -it ubuntu /bin/bash .. _bind_docker: