From 9c4b9c6f63b2096352d52291f259d9c37dd5f455 Mon Sep 17 00:00:00 2001 From: Christophe Vidal Date: Wed, 16 Aug 2017 09:05:44 +0700 Subject: [PATCH] Updated & reformulated kinds of mounts section Signed-off-by: Christophe Vidal --- docs/reference/commandline/service_create.md | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/docs/reference/commandline/service_create.md b/docs/reference/commandline/service_create.md index 184e9f952a..458575c87b 100644 --- a/docs/reference/commandline/service_create.md +++ b/docs/reference/commandline/service_create.md @@ -243,14 +243,12 @@ $ docker service create \ For more information about labels, refer to [apply custom 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 -or write from files or directories on other containers or the host operating -system. These types are _data volumes_ (often referred to simply as volumes) and -_bind-mounts_. - -Additionally, Docker supports `tmpfs` mounts. +Docker supports three different kinds of mounts, which allow containers to read +from or write to files or directories, either on the host operating system, or +on memory filesystems. These types are _data volumes_ (often referred to simply +as volumes), _bind-mounts_, and _tmpfs_. 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