containerd / nerdctl

contaiNERD CTL - Docker-compatible CLI for containerd, with support for Compose, Rootless, eStargz, OCIcrypt, IPFS, ...
Apache License 2.0
7.99k stars 595 forks source link

`nerdctl network rm <NETWORK>` should remove `~/.local/share/cni/networks/<NETWORK>` too #2915

Open AkihiroSuda opened 6 months ago

apostasie commented 1 month ago

Bind mount point is decided in containerd_rootless.sh, is that correct?

Can't find a way to retrieve the path programmatically at runtime though (nor the default cni path /var/lib/cni, which is private).

Alternatively, we could pass along DataDir in ipam-config at network creation, and make it point to whatever suits us instead.

Thoughts?