tiangolo / full-stack

Full stack, modern web application generator. Using Flask, PostgreSQL DB, Docker, Swagger, automatic HTTPS and more.
MIT License
523 stars 81 forks source link

Cannot create container for service proxy: b'Mount denied:\nThe source path "\\\\var\\\\run\\\\docker.sock:/var/run/docker.sock"\nis not a valid Windows path' #12

Closed michaeltoohig closed 5 years ago

michaeltoohig commented 5 years ago

The proxy container has this issue. I am using Docker-for-Windows so perhaps I need to adjust something.

michaeltoohig commented 5 years ago

I believe issue solved by setting an extra environment variable. https://github.com/drud/ddev/pull/753

COMPOSE_CONVERT_WINDOWS_PATHS to "true"

tiangolo commented 5 years ago

Hmm, interesting that it wasn't working, there are some people using it in Windows already, but maybe they were using Docker Toolbox and not Docker-for-Windows?

Thanks for sharing your solution. Let's see if someone else gets the same problem and then I'll add it to the documentation.