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 --tail 0 <container ID>' outputs all the logs instead of no log #35393
Comments
|
Which image do you use? My env is followings. |
|
I was running an in-house image which writes logs to stdout. '--tail 0' works as expected with docker engine 1.12, 17.05, 17.06 and we only noticed the error on docker engine 17.09.0-ce. I also tested hello-world image which works as expected. So looks like the issue is related to our image. |
|
Thanks @xiangfeiz for your report. Closing this as the problem isn't on Moby. |
Description
'docker logs --tail 0 ' outputs all the logs instead of no log
Steps to reproduce the issue:
Describe the results you received:
output all the logs
Describe the results you expected:
output no log
Additional information you deem important (e.g. issue happens only occasionally):
--tail 1 or other positive values works as expected.
Output of
docker version:Output of
docker info:Additional environment details (AWS, VirtualBox, physical, etc.):
The text was updated successfully, but these errors were encountered: