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

Running project on Windows? Invalid bind mount #498

Closed
Marooned-MB opened this issue Dec 20, 2016 · 2 comments
Closed

Running project on Windows? Invalid bind mount #498

Marooned-MB opened this issue Dec 20, 2016 · 2 comments

Comments

@Marooned-MB
Copy link

Marooned-MB commented Dec 20, 2016

When trying to run nginx I get this error:

$ docker-compose up -d nginx
Creating laradock_applications_1

ERROR: for applications  Cannot create container for service applications: Invalid bind mount spec "C:\\some\\windows\\path:/var/www:rw": Invalid volume specification: 'C:\some\windows\path:/var/www:rw'
←[31mERROR←[0m: Encountered errors while bringing up the project.

I've read COMPOSE_CONVERT_WINDOWS_PATHS=1 in .env might help but it did not.
Here is mentioned that it might be due to colon in the path but that's default config for volume - ../:/var/www so hard to adjust that.

@sudden-break
Copy link

#497

@philtrep
Copy link
Member

Closing this as a duplicate of #497. Please contribute to the original issue.

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

3 participants