-
Notifications
You must be signed in to change notification settings - Fork 32
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
Streaming output only happens for -ti flag #56
Comments
Signed-off-by: André Martins <[email protected]>
Signed-off-by: André Martins <[email protected]>
We've dug into this and the really weird thing is that |
Current hypothesis is that something to do with the Docker iptables NAT rules is interfering with the TCP half-close. |
Proposed workaround presently is to make Docker bind to a UNIX socket rather than a port, bypassing the (currently unproven) Docker NAT half-close issues. |
Demonstrated working in https://github.com/ClusterHQ/powerstrip/compare/unix-socket |
When I do this using
DOCKER_HOST=tcp://127.0.0.1:2375
(i.e. pointing @ powerstrip):docker run --rm -ti ubuntu echo hello
- it outputshello
But when I do this:
docker run --rm ubuntu echo hello
- it outputs nothingWhereas when I do the same thing without pointing at powerstrip - it outputs
hello
for both scenarios.There must be a flag in powerstrip that depends on either
-t
or-i
that enables streaming mode - we need to do this for any attach mode - hope this makes sense.The text was updated successfully, but these errors were encountered: