Tag: msys

docker堆栈部署Windows工作目录前面的卷path

我正在使用堆栈部署的docker撰写文件。 我的docker客户端是17.04。 这里是违规的撰写文件片段: version: '3.1' services: identityservice: image: registry.mms.local/identityservice:1.94.20117 networks: – microlise_net depends_on: – identityservicedb1 – identityservicedb2 – identityservicedb3 – identityservicedbarbiter volumes: – C:\var\storage\logs:C:\storage\logs deploy: placement: constraints: [node.labels.platform == windows] ……… 当我使用git bash来部署时,服务无法复制和检查我在卷映射中看到的服务 "Mounts": [ { "Type": "bind", "Source": "G:\\repos\\IdentityService\\Microlise.IdentityServer.Microservice/C:\\var\\storage\\logs", "Target": "C:\\storage\\logs" } ] 正如你所看到的源path是我的工作目录前置。 我已经尝试了各种格式。 有些人删除了前缀的path,但不工作,其他path仍然存在。 // C:在/ var / // C / VAR […]