#Error: failed to create network providers: CNI setup error during dagger engine (v0.13) init.

1 messages · Page 1 of 1 (latest)

sand lily
#

Hello Everyone,

I am trying to get started with dagger but have problems with dagger init. The dagger engine (v0.13) container keeps restarting.

docker logs gave me

...
time="2024-09-17T13:14:44Z" level=warning msg="failed to release network namespace \"briuxrxiev4p1x7mtv0vbfn8s\" left over from previous run: plugin type=\"loopback\" failed (delete): unknown FS magic on \"/var/lib/dagger/net/cni/briuxrxiev4p1x7mtv0vbfn8s\": 9123683e"
buildkitd: failed to create engine: failed to create network providers: CNI setup error: plugin type="bridge" failed (add): failed to list chains: running [/usr/sbin/iptables -t nat -S --wait]: exit status 3: iptables v1.8.10 (legacy): can't initialize iptables table `nat': Table does not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.

I am on Fedora 40

iptables --version
iptables v1.8.10 (nf_tables)

I found this post here (https://discordapp.com/channels/707636530424053791/1251537699903639623) but it didn't help me further.

Did anyone experienced a similar problem?

Thanks.
Sebastian

blazing aspen
#

hm, have you recently upgraded your kernel?

#

I occasionally see an issue like this after upgrading the kernel, but before restarting

#

After restarting, the issue goes away - I'd try that first.

pallid pollen
#

let me know if that works @sand lily

sand lily
#

Hey @pallid pollen that worked. Thank you. Could you explain what that iptables networking problem is? What does the dagger engine do with this network provider?

pallid pollen