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 logs --follow doesn't exit when container is removed #7577
Comments
Looking at the strace: epoll_wait(4, /proc/9798/fd# ls -la Looking at 4 is already a broken symlink. |
Closing. dup of #7020 |
@cpuguy83 I'm not sure it's a dup as the container isn't just stopped but completely removed, but docker logs --follow somehow still running. |
@tnachen Hmm I didn't realize your container was removed... but it's probably due to the same issue. |
@cpuguy83 so I am able to reproduce this 100% now: in bash #1 after in bash #2 looking back at the docker logs --follow process it's still hanging there forever. This should be a bug right? |
I consider it a bug, but also should be in the other issue, I think. |
Sounds good, I'll do that. |
Currently Docker logs --follow supposedly should exit when the docker container is removed, but occasionally we're seeing Docker logs --follow still running while the docker container is no longer there.
The text was updated successfully, but these errors were encountered: