-
Notifications
You must be signed in to change notification settings - Fork 5.3k
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
Error when mounting host path with Docker for Windows when using different DOCKER_HOST #4240
Comments
Thank you for the report. Is your |
@shin- Yes, |
Looks like we have to set this in our
|
I also seemingly had success by adding :
|
When using a different
DOCKER_HOST
, unless you setCOMPOSE_CONVERT_WINDOWS_PATHS=0
, any mount you specify on your docker-compose file will fail with:This is really confusing. This used to work fine before.
I am on
1.9.0
build2585387
.DOCKER_HOST
is set to a remote linux server.Volumes is:
Only works when
COMPOSE_CONVERT_WINDOWS_PATHS=0
is set or when it is set toCOMPOSE_CONVERT_WINDOWS_PATHS=1
. In other words, it only fails ifCOMPOSE_CONVERT_WINDOWS_PATHS
is unset.On the 1.9.0 release you mention that:
The last part
Users of Docker for Windows are not affected and do not need to set the variable
is not true.The text was updated successfully, but these errors were encountered: