I am having trouble with my docker networking setup on my vanilla Arch system. I am unable to get network connectivity within containers using the default bridge network, but am able to get connectivity when using --net=host, ie using the host network.
Paste with more info on what I have done and on my system: https://paste.rs/c6xkw.txt
If there is more info that would be helpful please let me know and I will try to get it.
The only similar issue I could find in the arch wikis is this: https://wiki.archlinux.org/title/docker#docker0_Bridge_gets_no_IP_/_no_internet_access_in_containers_when_using_systemd-networkd
But that seems to be for people using systemd-networkd as their network manager, which I am not doing. A potential idea I have is to get rid of NetworkManager and switch to systemd-networkd and try to employ the fix detailed there, though I am unsure if that would help and am hesitant to do so.
I am fairly certain this has something to do with my network setup on arch and its compatibility with docker, though I have tried to change many things relating to my network setup and firewall, and I couldn't find anything on the arch wiki about my setup being incompatible with docker. I am currently using NetworkManager with iwd for wireless auth and iptables for firewall. I messed around with iptables and switched to nftables at one point, but after having no success with that, I swapped back to iptables and cleared out all the settings, then reinstalled docker, having learned that docker manages iptables settings, so I let it reset the iptables settings to whatever docker wants as default.
I'm not sure if this is enough information to go on but I also don't know what other information to add. Any help would be appreciated.
Note: I have sought advice from the unofficial docker discord community. They told me to use a different operating system. I am looking for a way to use docker on arch, rather than change OS.
paste.rs is a simple, no-frills,
command-line driven pastebin service powered by the Rocket web
framework.