We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
bindPaths
1 parent c4901fe commit 71f36e7Copy full SHA for 71f36e7
lib/docker.js
@@ -92,11 +92,12 @@ function getBindPath(servicePath) {
92
throw new Error(`Unknown path format ${baseBindPath.substr(10)}...`);
93
}
94
95
- bindPaths.push(`/${drive.toLowerCase()}/${path}`);
+ bindPaths.push(`/${drive.toLowerCase()}/${path}`); // Docker Toolbox (seems like Docker for Windows can support this too)
96
+ bindPaths.push(`${drive.toLowerCase()}:/${path}`); // Docker for Windows
97
+ // other options just in case
98
bindPaths.push(`/${drive.toUpperCase()}/${path}`);
99
bindPaths.push(`/mnt/${drive.toLowerCase()}/${path}`);
100
bindPaths.push(`/mnt/${drive.toUpperCase()}/${path}`);
- bindPaths.push(`${drive.toLowerCase()}:/${path}`);
101
bindPaths.push(`${drive.toUpperCase()}:/${path}`);
102
103
for (let i = 0; i < bindPaths.length; i++) {
0 commit comments