-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Closed
Description
Mounting /var/run/docker.sock
is no longer working in stable Docker for Windows with the latest update. There is an issue here: docker/for-win#1829
I'm not sure whether the issue is that docker.sock
file is no longer a reliable source for DFW, and if that is the case then the issue will have to be resolved here. However, if it's a bug and it should still be able to mount docker.sock
on the Docker for Windows side of things, this bug should resolve itself in a future update.
An example error is here:
ERROR: for front Cannot create container for service front: b'Mount denied:\nThe source path "\\\\var\\\\run\\\\docker.sock:/tmp/docker.sock"\nis not a valid Windows path'
Example docker-compose.yml
:
front:
restart: always
image: jwilder/nginx-proxy
volumes:
- /var/run/docker.sock:/tmp/docker.sock
ports:
- "80:80"
- "443:443"
Docker Version:
18.03.0-ce-win59
ibpavlov, samdotme, ozonni, HpiGuillaume, stefanbschneider and 1 more
Metadata
Metadata
Assignees
Labels
No labels