mirror of https://github.com/docker/cli.git
Notes should be indented
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
This commit is contained in:
parent
aadc671cf0
commit
8ac0e4d95e
|
@ -107,11 +107,11 @@ images.
|
|||
|
||||
### Environment Replacement
|
||||
|
||||
**Note:** prior to 1.3, `Dockerfile` environment variables were handled
|
||||
similarly, in that they would be replaced as described below. However, there
|
||||
was no formal definition on as to which instructions handled environment
|
||||
replacement at the time. After 1.3 this behavior will be preserved and
|
||||
canonical.
|
||||
> **Note**: prior to 1.3, `Dockerfile` environment variables were handled
|
||||
> similarly, in that they would be replaced as described below. However, there
|
||||
> was no formal definition on as to which instructions handled environment
|
||||
> replacement at the time. After 1.3 this behavior will be preserved and
|
||||
> canonical.
|
||||
|
||||
Environment variables (declared with [the `ENV` statement](#env)) can also be used in
|
||||
certain instructions as variables to be interpreted by the `Dockerfile`. Escapes
|
||||
|
@ -337,11 +337,12 @@ specified network ports at runtime. Docker uses this information to interconnect
|
|||
containers using links (see the [Docker User
|
||||
Guide](/userguide/dockerlinks)) and to determine which ports to expose to the
|
||||
host when [using the -P flag](/reference/run/#expose-incoming-ports).
|
||||
**Note:**
|
||||
`EXPOSE` doesn't define which ports can be exposed to the host or make ports
|
||||
accessible from the host by default. To expose ports to the host, at runtime,
|
||||
[use the `-p` flag](/userguide/dockerlinks) or
|
||||
[the -P flag](/reference/run/#expose-incoming-ports).
|
||||
|
||||
> **Note**:
|
||||
> `EXPOSE` doesn't define which ports can be exposed to the host or make ports
|
||||
> accessible from the host by default. To expose ports to the host, at runtime,
|
||||
> [use the `-p` flag](/userguide/dockerlinks) or
|
||||
> [the -P flag](/reference/run/#expose-incoming-ports).
|
||||
|
||||
## ENV
|
||||
|
||||
|
|
|
@ -1877,7 +1877,7 @@ flag:
|
|||
fdisk: unable to open /dev/xvdc: Operation not permitted
|
||||
```
|
||||
|
||||
**Note:**
|
||||
> **Note:**
|
||||
> `--device` cannot be safely used with ephemeral devices. Block devices that
|
||||
> may be removed should not be added to untrusted containers with `--device`.
|
||||
|
||||
|
|
Loading…
Reference in New Issue