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
Fails to start rootless container with bypass4netns after reboot: failed to allocate for range 0: 10.4.1.3 has been allocated to default-XXXXXXX, duplicate allocation is not allowed #2933
runc create failed: unable to start container process: error during container init: error running hook #0: error running hook: exit status 1, stdout: , stderr: time="" level=fatal msg="failed to call cni.Setup: plugin type=\"bridge\" failed (add): failed to allocate for range 0: 10.4.1.3 has been allocated to default-XXXXXXX, duplicate allocation is not allowed"
Failed to write to log, write /home/merrkry/.local/share/nerdctl/1935db59/containers/default/XXXXXXX/oci-hook.createRuntime.log: file already closed
In the output of nerdctl ps -a, the status is Created. All restart policies make no difference here, simply fails or repeating the same error.
changed the title [-]Fails to start rootless container with bypass4netns after reboot[/-][+]Fails to start rootless container with bypass4netns after reboot: `failed to allocate for range 0: 10.4.1.3 has been allocated to default-XXXXXXX, duplicate allocation is not allowed`[/+]on Apr 13, 2024
Activity
[-]Fails to start rootless container with bypass4netns after reboot[/-][+]Fails to start rootless container with bypass4netns after reboot: `failed to allocate for range 0: 10.4.1.3 has been allocated to default-XXXXXXX, duplicate allocation is not allowed`[/+]AkihiroSuda commentedon Apr 13, 2024
Workaround:
rm -f ~/.local/share/cni/networks/NETWORK/IPapostasie commentedon Aug 25, 2024
@merrkry I believe this got fixed with:
https://github.com/containerd/nerdctl/pull/3356/files#diff-e0596cfbff08dfa3c5d049b51af0bf64607ac3fcd0fd48087b17be54c6632ef6
Obviously I stumbled upon the same issue as yours and opened a duplicate here: #3355