Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker-compose volume bug in Windows #245

Closed
corradio opened this issue Jan 6, 2017 · 3 comments
Closed

Docker-compose volume bug in Windows #245

corradio opened this issue Jan 6, 2017 · 3 comments

Comments

@corradio
Copy link
Member

corradio commented Jan 6, 2017

When using docker-compose under windows to start the application, the following error occurs:

Invalid bind mount spec "<my path>:/data/db/rw": Invalid volume specification: '<my path>:/data/db:rw'

There might be a fix at docker/compose#4274

@corradio
Copy link
Member Author

corradio commented Jan 9, 2017

Seems like running setx COMPOSE_CONVERT_WINDOWS_PATHS 0 works (at least with the latest RC version of docker-compose.

@corradio
Copy link
Member Author

corradio commented Jan 9, 2017

And also one needs to comment out the volumes section in the mongo service:
docker-library/mongo#74

@corradio
Copy link
Member Author

corradio commented Jan 9, 2017

..and you need to run docker-machine ip default to get the ip to which to connect :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant