Skip to content

Docker logs streams #11022

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

Closed
cdalexndr opened this issue Jun 22, 2020 · 2 comments
Closed

Docker logs streams #11022

cdalexndr opened this issue Jun 22, 2020 · 2 comments
Labels

Comments

@cdalexndr
Copy link

Problem description

docker logs command prints on stdout AND stderr matching the container's streams, but there is no mention of this behaviour in documentation.

Problem location

Suggestions for a fix

Mention streams behavior and include some examples like:

How to find something in logs (both stderr and stdout streams):
docker logs docker_container_1 2>&1 | grep something

Related: moby/moby#41139

@craig-osterhout craig-osterhout added the area/cli Relates to the CLI client label Aug 3, 2022
@docker-robott
Copy link
Collaborator

There hasn't been any activity on this issue for a long time.
If the problem is still relevant, mark the issue as fresh with a /remove-lifecycle stale comment.
If not, this issue will be closed in 14 days. This helps our maintainers focus on the active issues.

Prevent issues from auto-closing with a /lifecycle frozen comment.

/lifecycle stale

@docker-robott
Copy link
Collaborator

Closed issues are locked after 30 days of inactivity.
This helps our team focus on active issues.

If you have found a problem that seems similar to this, please open a new issue.

/lifecycle locked

@docker docker locked and limited conversation to collaborators Jan 16, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants