From 29af43b84c0953a534bd0d2db7519013ed784818 Mon Sep 17 00:00:00 2001 From: Deep Debroy Date: Wed, 28 Jun 2017 10:27:32 -0700 Subject: [PATCH] Add raw tags back --- docker-for-azure/persistent-data-volumes.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docker-for-azure/persistent-data-volumes.md b/docker-for-azure/persistent-data-volumes.md index d8af19ef42..2ee69284a6 100644 --- a/docker-for-azure/persistent-data-volumes.md +++ b/docker-for-azure/persistent-data-volumes.md @@ -77,11 +77,13 @@ create and mount a unique Cloudstor volume for each task in a swarm service. It is possible to use the templatized notation to indicate to Docker Swarm that a unique Cloudstor volume be created and mounted for each replica/task of a service. This may be useful if the tasks write to the same file under the same path which may lead to corruption in case of shared storage. Example: ```bash +{% raw %} $ docker service create \ --replicas 5 \ --name ping2 \ --mount type=volume,volume-driver=cloudstor:azure,source={{.Service.Name}}-{{.Task.Slot}}-vol,destination=/mydata \ alpine ping docker.com +{% endraw %} ``` A unique volume is created and mounted for each task participating in the