Comment on The Beauty Of Having A Pi-hole · Den Delimarsky
starkzarn@infosec.pub 1 week agoThat’s not how that works. network_mode: host
shares the network namespace with the container host, so it doesn’t do any NAT, it only exists on the host’s IP. It would be akin to running a natively installed app, rather than in a container. macvlan
networking is what gives a container its own IP on the logical network, without the layer of NAT that the default bridge
mode networking that docker typically does.
PoopMonster@lemmy.world 1 week ago
Thanks for the clarification I had mixed up the details and went to check my containers. You sir are correct. I added some documentation to my post regarding macvlan network creation.