Skip to content

Commit

Permalink
add a little bit mentioning commandline option combinations
Browse files Browse the repository at this point in the history
Docker-DCO-1.1-Signed-off-by: Sven Dowideit <SvenDowideit@fosiki.com> (github: SvenDowideit)
  • Loading branch information
SvenDowideit committed Feb 27, 2014
1 parent 3839e3a commit cdec329
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
8 changes: 6 additions & 2 deletions docs/sources/reference/commandline/cli.rst
Expand Up @@ -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
~~~~~~~
Expand Down
2 changes: 1 addition & 1 deletion docs/sources/use/basics.rst
Expand Up @@ -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:

Expand Down

0 comments on commit cdec329

Please sign in to comment.