Added info re: image[:tag] to make docs consistent. Fixed a markdown issue.

Closes issue #6833

Docker-DCO-1.1-Signed-off-by: Fred Lifton <fred.lifton@docker.com> (github: fredlf)
This commit is contained in:
Fred Lifton 2014-07-16 16:39:44 -07:00 committed by Tibor Vass
parent 6f99c854b6
commit dbec9b15d4
1 changed files with 14 additions and 10 deletions

View File

@ -26,18 +26,16 @@ see [*Option types*](/reference/commandline/cli/#option-types).
The list of `[OPTIONS]` breaks down into two groups: The list of `[OPTIONS]` breaks down into two groups:
1. Settings exclusive to operators, including: 1. Settings exclusive to operators, including:
* Detached or Foreground running,
- Detached or Foreground running, * Container Identification,
- Container Identification, * Network settings, and
- Network settings, and * Runtime Constraints on CPU and Memory
- Runtime Constraints on CPU and Memory * Privileges and LXC Configuration
- Privileges and LXC Configuration 2. Settings shared between operators and developers, where operators can
2. Setting shared between operators and developers, where operators can
override defaults developers set in images at build time. override defaults developers set in images at build time.
Together, the `docker run [OPTIONS]` give complete control over runtime Together, the `docker run [OPTIONS]` give the operator complete control over runtime
behavior to the operator, allowing them to override all defaults set by behavior, allowing them to override all defaults set by
the developer during `docker build` and nearly all the defaults set by the developer during `docker build` and nearly all the defaults set by
the Docker runtime itself. the Docker runtime itself.
@ -127,6 +125,12 @@ PID files):
--cidfile="": Write the container ID to the file --cidfile="": Write the container ID to the file
### Image[:tag]
While not strictly a means of identifying a container, you can specify a version of an
image you'd like to run the container with by adding `image[:tag]` to the command. For
example, `docker run ubuntu:14.04`.
## Network Settings ## Network Settings
--dns=[] : Set custom dns servers for the container --dns=[] : Set custom dns servers for the container