-
Notifications
You must be signed in to change notification settings - Fork 287
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
Bind mount docker.sock with Windows container #6813
Comments
Seeing a similar issue with a different use case. from container run container that has bind mounts to docker socket (docker build from docker container: CI use case). Windows: must use sudo from the container running from host container. Linux: everything can use the same docker group gid (identical numeric value). |
I think based on here that these use cases require using a TCP socket (eg., must remote from local) This might require TLS? |
@rirlswift Thanks for the info but how can I bind the TCP socket I mean I tried but I got this error:
Also the doc said it has a TCP like |
@masoudr, did you try using Having a similar issue trying to mount and named pipe into a Linux container from a Windows host. Wondering if proxying a port and using |
Issues go stale after 90 days of inactivity. Prevent issues from auto-closing with an If this issue is safe to close now please do so. Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows. |
Closed issues are locked after 30 days of inactivity. If you have found a problem that seems similar to this, please open a new issue. Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows. |
Expected behavior
The service should set up without any problem.
Actual behavior
I get this error:
Information
I'm trying to mix Windows and Linux containers and as you might know, the latest version that it works properly is
2.2.0.3
(based on this issue). My problem is with the mountingdocker.sock
into Linux container which seems syntactically right. I tested this with Linux containers and I'm not sure about how to set when using Windows containers.Steps to reproduce the behavior
I set the
experimental
feature in my docker daemon and Windows container selected.Here is my daemon config:
Here is my sample
docker-compose.yml
:And the Dockerfile:
The text was updated successfully, but these errors were encountered: