inspektor-gadget / inspektor-gadget

Inspektor Gadget is a set of tools and framework for data collection and system inspection on Kubernetes clusters and Linux hosts using eBPF
https://www.inspektor-gadget.io
Apache License 2.0
2.22k stars 241 forks source link

[RFE] Make CRI socket path configurable for docker #2525

Open blanquicet opened 8 months ago

blanquicet commented 8 months ago

Current situation

As commented here, the socket path for docker when using the CRI protocol is not configurable:

https://github.com/inspektor-gadget/inspektor-gadget/blob/2340dd4c608f8f2716f3521ee502cf2fe5a0bcdc/pkg/container-utils/docker/docker.go#L57-L59

Impact

In systems where it is located in another path, ig will not work.

Ideal future situation

Make it configurable.

alban commented 8 months ago

Alternatively, we can automatically find the correct cri socket path with https://github.com/inspektor-gadget/inspektor-gadget/pull/2448

github-actions[bot] commented 6 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs.