sosreport / sos

A unified tool for collecting system logs and other debug information
http://sos.rtfd.org
GNU General Public License v2.0
513 stars 541 forks source link

Feature Request: Include container image manifests and layers in sosreport #3796

Open tawfiqfm opened 1 month ago

tawfiqfm commented 1 month ago

Currently, sosreport does not capture detailed information about container images running on a node. This can make it difficult to troubleshoot issues with containerized applications. Requesting feature to dump all manifests and layers for images on a Node in sosreport.

TurboTurtle commented 1 month ago

Sounds reasonable - what environments/runtimes are you looking for?

podman I think this would be provided via podman image inspect $image, is that what you're looking for, or something else? docker would be the same I think? Would need to look into k8s or OCP if you're looking for those plugins as well or instead.

EDIT: and/or podman image tree $image ?

SergeyKanzhelev commented 1 month ago

We are interested in containerd. But other runtimes may be interested in it as well. Some hierarchy of layers and all the manifests would be great to have in the report.

cc: @samuelkarp to advice on the best way to collect this for containerd

tawfiqfm commented 1 month ago

Seems like this was closed by mistake. This hasn't been implemented by Containerd.

TurboTurtle commented 1 month ago

Yep, mistakenly closed. I had updated the tag to Related, so not sure why this got closed out.