From 4896a3265e361f4fcfa88d288c346b5f8ac90e83 Mon Sep 17 00:00:00 2001 From: Bret Fisher Date: Fri, 18 May 2018 08:04:21 -0500 Subject: [PATCH] Update volume chapter --- slides/intro/Working_With_Volumes.md | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/slides/intro/Working_With_Volumes.md b/slides/intro/Working_With_Volumes.md index e16b6135..b0d3ad5b 100644 --- a/slides/intro/Working_With_Volumes.md +++ b/slides/intro/Working_With_Volumes.md @@ -33,6 +33,8 @@ Docker volumes can be used to achieve many things, including: * Sharing a *single file* between the host and a container. +* Using remote storage and custom storage with "volume drivers". + --- ## Volumes are special directories in a container @@ -118,7 +120,7 @@ $ curl localhost:8080 ## Volumes exist independently of containers -If a container is stopped, its volumes still exist and are available. +If a container is stopped or removed, its volumes still exist and are available. Volumes can be listed and manipulated with `docker volume` subcommands: @@ -201,7 +203,7 @@ Then run `curl localhost:1234` again to see your changes. --- -## Managing volumes explicitly +## Using custom "bind-mounts" In some cases, you want a specific directory on the host to be mapped inside the container: @@ -244,6 +246,8 @@ of an existing container. * Newer containers can use `--volumes-from` too. +* Doesn't work across servers, so not usable in clusters (Swarm, Kubernetes). + --- class: extra-details @@ -394,10 +398,15 @@ has root-like access to the host.] You can install plugins to manage volumes backed by particular storage systems, or providing extra features. For instance: -* [dvol](https://github.com/ClusterHQ/dvol) - allows to commit/branch/rollback volumes; -* [Flocker](https://clusterhq.com/flocker/introduction/), [REX-Ray](https://github.com/emccode/rexray) - create and manage volumes backed by an enterprise storage system (e.g. SAN or NAS), or by cloud block stores (e.g. EBS); -* [Blockbridge](http://www.blockbridge.com/), [Portworx](http://portworx.com/) - provide distributed block store for containers; -* and much more! +* [REX-Ray](https://rexray.io/) - create and manage volumes backed by an enterprise storage system (e.g. + SAN or NAS), or by cloud block stores (e.g. EBS, EFS). + +* [Portworx](http://portworx.com/) - provides distributed block store for containers. + +* [Gluster](https://www.gluster.org/) - open source software-defined distributed storage that can scale + to several petabytes. It provides interfaces for object, block and file storage. + +* and much more at the [Docker Store](https://store.docker.com/search?category=volume&q=&type=plugin)! ---