From 076ff50217730ed3eb44ce0c53572c839a5d7a72 Mon Sep 17 00:00:00 2001 From: david Date: Wed, 8 Aug 2018 05:13:09 +0000 Subject: [PATCH] =?UTF-8?q?Create=20Post=20=E2=80=9Cdocker-volumes-and-mou?= =?UTF-8?q?nts-in-vsts-agents=E2=80=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../docker-volumes-and-mounts-in-vsts-agents.md | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 source/_posts/docker-volumes-and-mounts-in-vsts-agents.md diff --git a/source/_posts/docker-volumes-and-mounts-in-vsts-agents.md b/source/_posts/docker-volumes-and-mounts-in-vsts-agents.md new file mode 100644 index 0000000..1684235 --- /dev/null +++ b/source/_posts/docker-volumes-and-mounts-in-vsts-agents.md @@ -0,0 +1,11 @@ +--- +title: Docker volumes and mounts in VSTS agents +date: '2018-08-08T00:11:17-05:00' +tags: + - docker vsts +--- +\- VSTS runs docker commands in command prompt, not PS. So use double quotes, no single quotes. + +\- docker --mount should be used in favor of docker -v. + +\- When using docker -v use docker inspect, note that the volumes lists one and the mounts list others, but neither match. Indicating a source of the problem.