Comment on How to get a unique MAC/DHCP IP for a Docker/Podman container without MACVLAN?
MangoPenguin@lemmy.blahaj.zone 5 weeks agoWhat about using the default docker bridge networking instead of macvlan? You can access docker containers from the host, they can talk to each other if on the same bridge network, and there’s nothing hardcoded into the docker compose files.
glizzyguzzler@lemmy.blahaj.zone 5 weeks ago
With the default Docker bridge networking the container won’t have a unique IP/MAC address on the local network, as far as I am aware. Communication with external clients will have to contact the host server’s IP at the port the container is tied to in order to interact. If there’s a way to specify a specific parent interface, let me know!
MangoPenguin@lemmy.blahaj.zone 4 weeks ago
Thats correct but that is fine for the majority of setups.