mirror of https://github.com/docker/cli.git
Updated & reformulated kinds of mounts section
Signed-off-by: Christophe Vidal <kriss@krizalys.com>
This commit is contained in:
parent
17adcbdada
commit
9c4b9c6f63
|
@ -243,14 +243,12 @@ $ docker service create \
|
||||||
For more information about labels, refer to [apply custom
|
For more information about labels, refer to [apply custom
|
||||||
metadata](https://docs.docker.com/engine/userguide/labels-custom-metadata/).
|
metadata](https://docs.docker.com/engine/userguide/labels-custom-metadata/).
|
||||||
|
|
||||||
### Add bind-mounts or volumes
|
### Add bind-mounts, volumes or memory filesystems
|
||||||
|
|
||||||
Docker supports two different kinds of mounts, which allow containers to read to
|
Docker supports three different kinds of mounts, which allow containers to read
|
||||||
or write from files or directories on other containers or the host operating
|
from or write to files or directories, either on the host operating system, or
|
||||||
system. These types are _data volumes_ (often referred to simply as volumes) and
|
on memory filesystems. These types are _data volumes_ (often referred to simply
|
||||||
_bind-mounts_.
|
as volumes), _bind-mounts_, and _tmpfs_.
|
||||||
|
|
||||||
Additionally, Docker supports `tmpfs` mounts.
|
|
||||||
|
|
||||||
A **bind-mount** makes a file or directory on the host available to the
|
A **bind-mount** makes a file or directory on the host available to the
|
||||||
container it is mounted within. A bind-mount may be either read-only or
|
container it is mounted within. A bind-mount may be either read-only or
|
||||||
|
|
Loading…
Reference in New Issue