influxdata / sandbox

A sandbox for the full TICK stack
MIT License
486 stars 220 forks source link

sandbox fails to start on Win10 #32

Closed Ravenwater closed 6 years ago

Ravenwater commented 6 years ago

... Creating sandbox_documentation_1 ... done Creating sandbox_influxdb_1 ... done Creating sandbox_kapacitor_1 ... Creating sandbox_telegraf_1 ... error Creating sandbox_ifql_1 ... Creating sandbox_kapacitor_1 ... done ERROR: for sandbox_telegraf_1 Cannot create container for service telegraf: b'Mount denied:\nThe source path "\\var\\run\\dockerCreating sandbox_ifql_1 ... done

ERROR: for telegraf Cannot create container for service telegraf: b'Mount denied:\nThe source path "\\var\\run\\docker.sock:/var/run/docker.sock"\nis not a valid Windows path' Encountered errors while bringing up the project.

conradoqg commented 6 years ago

It looks like a bug in the edge version of docker.

I was able to overcome this by running in git bash export COMPOSE_CONVERT_WINDOWS_PATHS=1 and then doing a sandbox down and sandbox up.

You can see the issue here

The developers could force this variable.

Cheers

timhallinflux commented 6 years ago

thanks @conradoqg -- I've added SET COMPOSE_CONVERT_WINDOWS_PATHS=1 to the sandbox.bat

Everything is working now!