Open mharwani opened 1 year ago
cc @fahedouch
Hi @mharwani,
We started a WIP ticket to enhance a list of logging drivers . We planned to handle the local
driver as a separate binary, I started working on it some time ago but didn't have time to go further and of course PR is welcome :)
Description
Hey, it's my first post here! 👋
Thank you for refactoring nerdctl #1680. I'm looking at the refactored
Create
method and I don't see a way to generate the logger URI with nerdctl exe or a custom binary. The method callsGenerateLogURI
, which will use the exe of the calling function during runtime. However, an external program may still want to use the nerdctl exe for logging instead, or specify a custom binary location.Perhaps we could use the existing
NerdctlCmd
option that is used for oci-hooks, or define a new option such asLoggerExe
inContainerCreateOptions
? Please let me know your thoughts. I'm happy to work on this myself and create a PR!Steps to reproduce the issue
No response
Describe the results you received and expected
External programs calling the
Create
method should be able to use nerdctl exe or a custom binary for logging.What version of nerdctl are you using?
v1.4.0
Are you using a variant of nerdctl? (e.g., Rancher Desktop)
None
Host information
No response