-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
please add --log-driver
for podman exec
#14594
Comments
While adding the log options is easy, I am not sure how you want to read the logs then? @mheon PTAL |
We can add logging without that much difficulty - just a bit of plumbing required to get the appropriate flags to Conmon. Question is really how do you read those logs, as |
I actually just want to set the driver to passthrough. |
What would be the advantage of the passthrough driver compared to the normal podman exec? |
I want my file descriptors going through to the inside, without podman acting as an intermediary. |
Does this work for you?
|
Yes. That's what I'm using now. 😅 It actually works fine. It just seemed odd to me that it was necessary when there's the passthrough option on |
I think adding passthrough support is fine, journald could also be added since users could read the logs via journalctl. But keep in mind that passthrough is only supported when the fds are not connected to a terminal. |
I'd be using it with an |
Interested in opening a PR to make this happen? |
A friendly reminder that this issue had no activity for 30 days. |
A friendly reminder that this issue had no activity for 30 days. |
@flouthoc Interested in taking a look at this? |
Looks a small change ,can add this flag but I am not sure if this is even easily testable in CI or not @mheon WDYT ? |
A friendly reminder that this issue had no activity for 30 days. |
@flouthoc Reminding |
As per #6555 (comment)
The issue got closed with the hard-wiring of "none" but there was no follow-up to add the flag, as planned.
The text was updated successfully, but these errors were encountered: