-
-
Notifications
You must be signed in to change notification settings - Fork 465
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
writing to stdin #5
Comments
Check the "duplex" branch :) Basically it uses a duplex stream encapsulating req and res. It was hacked in 5 mins. I will probably look into it this weekend, since I also need it for other issue. #2 |
cool. Right now I'm going with manual websockets. Unfortunately I can't get On Fri, Oct 18, 2013 at 2:02 PM, Pedro Dias notifications@github.comwrote:
|
Yeah I've the same problem in here with ws and unixsocket. |
unfortunately, I think there's a docker issue too: On Fri, Oct 18, 2013 at 2:13 PM, Pedro Dias notifications@github.comwrote:
|
Would very much like to be able to do this as well. Could you also provide docks on consuming regular stdout streams? I'm having trouble passing in a duplex stream and getting output. |
stdin attach via remote api is still in a limbo right now, till I figure out how to do it. Could you detail your second question? You can easily attach and separate stderr and stdout, example: |
I figured out my issue - I'm a total stream novice, and didn't realize I needed to override stream._write to get any output. |
No problem :) Regarding stdin attach a lot of people is having issues with it via plain remote api. So right now it's in limbo. |
Fixed in #38 |
Awesome! |
If this is currently supported by dockerode, could you include a test / example of attaching to a container's stdin? And if it's not supported, what are the chances of that happening?
Thanks!
The text was updated successfully, but these errors were encountered: