Skip to content

what's the different between "none" and "passthrough" log driver? #23928

Answered by Luap99
GongT asked this question in Q&A
Discussion options

You must be logged in to vote

if you run podman run -d you will see the difference more clearly, passthrough is actually passing down the actual stdio fds down in the container.
None on the other only doesn't log the output to somehwere so it cannot be replayed later, you can still use commands like podman attach to attach later and/or multiple times without issues all all the stdio is multiplexed in conmon. That is just not possible with passthrough as the fds only exists once.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@GongT
Comment options

Comment options

You must be logged in to vote
1 reply
@GongT
Comment options

Answer selected by GongT
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants