-
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
Allow mapping of Windows named pipe into Windows container #5181
Comments
Thanks, I'll take a look. This probably needs some special-casing to make it happen. |
related PR from docker-cli: docker/cli#560 |
Dependency on docker/docker-py#1780 |
After adding docker support in VS2017 project, it gives an error "/c/ContainerAPI/FileUploader_/FileUploader/FileUploader:C:\app:rw": invalid volume specification: '\c\ContainerAPI\FileUploader_\FileUploader\FileUploader:C:\app:rw' What is the reason behind this? |
Was this feature released or abandoned? If it has been released, what version is it included in? |
Still experiencing this issue in docker ee latest stable, and latest docker-compose release from github.
|
@dazinator You'll need to use the long syntax, like so: volumes:
- source: '\\.\pipe\docker_engine'
target: '\\.\pipe\docker_engine'
type: npipe |
@shin- thank you! |
Just to say that there seems to be a problem with npipe Volumes in Windows which is fixed in docker-compose 1,23 Unfortunately docker-for-windows (at time of writing, Dec 4th '18,) still comes with docker-compose 1.22 The solution is to install it separately (choco install docker-compose) and rename C:\Program Files\Docker\Docker\resources\bin\docker-compose.exe to something else, to force the machine to use the newer exe you just installed: C:>docker-compose -v HTH someone - took me a while to figure it all out. |
Thank you so much, this is the overall solution fixing it - even today. We are so used to the abbreviated form that this was not even considered before! Also a huge learning that the abbreviated one-row-form does not handle any syntax. |
After moby/moby#33852 is merged and available in 17.09.0-ce-rc1 I checked this with current Windows Server Insider 16278.
For the docker cli the syntax looks like the following line to map the Windows named pipe of the Docker engine into the Windows container.
So I tried it with this docker-compose.yml
but I get this error message
I'm running these versions:
The text was updated successfully, but these errors were encountered: