-
Notifications
You must be signed in to change notification settings - Fork 18.8k
Docker logs cannot redirect or pipe on ConEmu #41139
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
Comments
Your container likely printed (some of) those logs on Something like
I don't think there's a bug to fix here, so I'm closing this ticket, but feel free to continue the conversation |
Indeed, it seems that filebeat is logging to stderr instead of stdout. Will open an issue with filebeat. |
Logging to |
Note that the docker logs documentation doesn't specify that the logs output can be on stdout AND stderr.
Also, I understand that the stream output separation can be used to filter only logs on |
The naming of |
So if |
The If the containers process output streams would be combined to stdout, that would no longer be possible |
Uh oh!
There was an error while loading. Please reload this page.
Description
Cannot redirect output stream from
docker logs
using conemu.Steps to reproduce the issue:
docker logs docker_filebeat_1 > log.txt
or
docker logs docker_filebeat_1 | clip
Describe the results you received:
Both commands show logs in console instead of outputing to file or clipboard.
Describe the results you expected:
Redirect to file and to clipboard.
Additional information you deem important (e.g. issue happens only occasionally):
Output of
docker version
:Output of
docker info
:Additional environment details (AWS, VirtualBox, physical, etc.):
Windows 10 1903
Cmder 1.3.13.967 (ConEmu 191012)
Related: #28814
The text was updated successfully, but these errors were encountered: