Docker Community Forums

Share and learn in the Docker community.

Docker Bridge Network Mode - No internet - SOLVED

Hey,
I ran into an issue with bridged networking a few days ago, all my containers suddenly went offline. Using host networking works fine, and my host machine can connect to the internet no problem. Other containers that use host networking are also fine, It’s just bridged that’s causing an issue. I would just use host for everything, but Wireguard requires bridged networking.

Here’s a screenshot of traceroute:
image

Any ideas?
Thanks

EDIT:
I figured out what the issue was, I had disabled iptables in my daemon.json file.

{
	"iptables": false,
	"dns": ["9.9.9.9", "8.8.8.8", "1.1.1.1"]
}

I Initially did this because I didn’t want my containers services to be exposed to the internet, guess I’ll have to find a way around Docker creating Iptables rules per container.