You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Passing an empty Netns causes leak iptable rules #1872
In fact, nerdctl only execute cni.Remove() when run rm/start container instead of stopping container.
At that time, it has run task.Kill, the container progress has exited. So bridge plugin can't obtain the ip address from Netns even we pass the correct sandbox path to it. It'll fail to get ipns then skip to teardown ip masq.
I think this problem may not be easy to solve in nerdctl. However it can be handled in the bridge plugin.
Activity
qkboy commentedon Jan 18, 2023
In fact, nerdctl only execute cni.Remove() when run rm/start container instead of stopping container.
At that time, it has run task.Kill, the container progress has exited. So bridge plugin can't obtain the ip address from Netns even we pass the correct sandbox path to it. It'll fail to get ipns then skip to teardown ip masq.
I think this problem may not be easy to solve in nerdctl. However it can be handled in the bridge plugin.
refer: containernetworking/plugins#810
fahedouch commentedon Jun 6, 2025
fixe by #4255