From 7ba6cf4976aef64ee1b345ee438c722951b3483a Mon Sep 17 00:00:00 2001 From: bmcder <33434002+bmcder@users.noreply.github.com> Date: Sat, 7 Jul 2018 00:10:17 +0100 Subject: [PATCH] Update README.md (#126) adding --mount type=bind,source=/var/lib/docker/containers,destination=/var/lib/docker/containers as per IcM 75500254 --- Swarmmode/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Swarmmode/README.md b/Swarmmode/README.md index dc3065a..aa2b766 100644 --- a/Swarmmode/README.md +++ b/Swarmmode/README.md @@ -1,5 +1,5 @@ To run OMS Agent as a global service on Docker Swarm, please log onto your master node and run the following command: ``` -docker service create --name omsagent --mode global --mount type=bind,source=/var/run/docker.sock,destination=/var/run/docker.sock -e WSID="" -e KEY="" -p 25225:25225 -p 25224:25224/udp --restart-condition=on-failure microsoft/oms +docker service create --name omsagent --mode global --mount type=bind,source=/var/run/docker.sock,destination=/var/run/docker.sock --mount type=bind,source=/var/lib/docker/containers,destination=/var/lib/docker/containers -e WSID="" -e KEY="" -p 25225:25225 -p 25224:25224/udp --restart-condition=on-failure microsoft/oms ```