-
Notifications
You must be signed in to change notification settings - Fork 709
Closed
Labels
Description
What is the problem you're trying to solve
Currently nerdctl logs do not support containers in namespace moby and k8s.io
We can supportnerdctl logs in namespace k8s.io( or container created via CRIPlugin)
Describe the solution you'd like
Refer to this commit zhaojizhuang@c8c2a66
- get LogPath from
containerMetadataExtension(which only use in container created by CRI) - add text logdriver
- tail
LogPath,and redirectstdout、stderrin logfile toos.stdoutos.stderr
Additional context
No response