Docker error: failed to start daemon: Error initializing network controller

Hello, I acquired a Jetson Orin NX 8GB a little while ago and installed JetPack6.0 through SDK manager. But there is something wrong when I start docker, then I look into the log and there was a problem with daemon startup, and it got an error:

failed to start daemon: Error initializing network controller: error creating default "bridge" network: Failed to program NAT chain:COMMAND_FAILED: 'python-nftables' faild.

Then I tried a lot of suggestions on the Internet that didn’t work, and now I’ve changed the configuration of firewalld.conf: change FirewallBackckend=nftables to iptables. Still the error is

failed to start daemon: Error initializing network controller: error creating default "bridge" network: Failed to program NAT chain: COMMAND_FAILED: '/usr/sbin/ip6tables-restore -w -n' failed: ip6tables-restore v1.8.7 (legacy): ip6tables-restore: unable to initialize table 'raw'

Here are the logs:
docker_service_status.txt (1.0 KB)
syslog.txt (27.0 KB)

Hi,

It looks like the error starts from here:

Nov 26 11:43:58 kuka-desktop firewalld[583]: ERROR: NAME_CONFLICT: new_policy_object(): 'docker-forwarding'

Could you run the below command and share the output with us?

$ sudo docker network inspect bridge

Thanks.

It seems there is nothing output but

[]
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?

Hi,

Please share how you set up docker in your environment.
Or could you follow the steps shared below and try it again?

Thanks.