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
docker attach hangs setting terminal state when attaching to container #10094
Comments
I'm happy to submit a PR for this fix as well as it follows the workflow I looked into for #9860, if it is determined to be an issue. |
can you try on master? you can download binaries from master.dockerproject.com |
From the tip of master |
why are you attaching to bash? I think that is intentional behavior if you want to execute more things inside the container use docker exec |
attach seems to be working fine for me on master with irssi and mutt |
ha - so this example was/is something I have been using to test other issues with being a long running process that won't die on me. Aside from that, you are right, it's not very practical. I noticed this behavior and wasn't sure if it was correct or not. It seems like when attaching the container's stdout isn't flushed to the cli until the cli provides data on the container's stdin in this case. |
so wdyt is this still an issue, sorry im confused :) |
sorry and hit wrong button |
ping @acbodine |
I meant to close this. Whoops. |
ah cool thanks! On Mon, Mar 2, 2015 at 11:05 AM, Andrew C. Bodine notifications@github.com
|
Let's say I have a container such that:
Then I attach to it:
I press any key and I see:
Shouldn't the first
root@3a73e17af236:/#
prompt be displayed whendocker attach
is run?I can verify this isn't a
boot2docker
problem as I have seen similar behavior on Ubuntu 14.04The text was updated successfully, but these errors were encountered: