-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Disable docker system dial-stdio on Windows
#1710
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
Conversation
The `conn` here is `*winio.win32MessageBytePipe` which does not have a
`CloseRead` method (it does have `CloseWrite`) resulting in:
docker@WIN-NUC0 C:\Users\docker>.\docker-windows-amd64.exe system dial-stdio
the raw stream connection does not implement halfCloser
Also disable the path which uses this for cli-plugins on Windows.
Signed-off-by: Ian Campbell <[email protected]>
|
According to #1376 it works on Windows with certain configuration? |
|
I think |
Ah, I guess there it is a proper tcp socket (which I would guess does indeed support half close in both directions since it is tcp) since it is doing For me (using dial-stdio in a plugin to connect back to the local dameon) it is (I presume) the named pipe, which I suppose doesn't. |
|
/cc @andrey-ko for taking a look at the Windows side of this. |
|
@thaJeztah I think this is only tangentially related to plugins (cf the label) |
|
#1718 is my attempt to fix this on Windows, PTAL (my testing on Windows has been rather limited) |
- Update docker/cli is now pointing to ulyssessouza/cli. The change needs the merge of docker/cli#1710 and docker/cli#1690 - Fix issues relative paths in Jenkinsfile and Jenkinsfile.baguette - Avoid using '--config' in favor of env variable 'DOCKER_CONFIG' Signed-off-by: Ulysses Souza <[email protected]>
- Update docker/cli is now pointing to ulyssessouza/cli. The change needs the merge of docker/cli#1710 and docker/cli#1690 - Fix issues relative paths in Jenkinsfile and Jenkinsfile.baguette - Avoid using '--config' in favor of env variable 'DOCKER_CONFIG' Signed-off-by: Ulysses Souza <[email protected]>
thaJeztah
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM as a temporary solution while we work on #1718
silvin-lubecki
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|
Merged, to be reverted when #1718 will land. |
The
connhere is*winio.win32MessageBytePipewhich does not have aCloseReadmethod (it does haveCloseWrite) resulting in:Also disable the path which uses this for cli-plugins on Windows.
Signed-off-by: Ian Campbell [email protected]
/cc @tonistiigi @AkihiroSuda if Windows can't be fixes soon perhaps we should do this and revert when Windows works?