I wanted to deploy my application on a windows system. I recently (yesterday) installed DockerToolbox-1.12.4
on my windows 10. This gives my a new terminal. Whe
This example works for me:
test_dev:
image: test/node:7.9
ports:
- "3000:3000"
volumes:
- //c/Users/user/Sources:/usr/src/app/
command:
node /usr/src/app/start.js
I had some issues trying to run docker-compose build
on windows 10.
Error: 'Failed to execute script docker-compose'
After trying so many things and finally ran docker quick start terminal which ran Bash shell. I ran cmd
command to switch to cmd and tryied the build command. That's it. Worked for me
I think you have to set COMPOSE_CONVERT_WINDOWS_PATHS=1
in your environment. See: