Comment on How to get a unique MAC/DHCP IP for a Docker/Podman container without MACVLAN?

<- View Parent
glizzyguzzler@lemmy.blahaj.zone ⁨2⁩ ⁨days⁩ ago

This was very insightful and I’d like to say I groked 90% of it meaningfully!

For an Incus container with its unique MAC interface, yes if I run a Docker container in that Incus container and leave the Docker container in its default bridge mode then I get the desired feature set (with the power of onions).

And thanks for explaining CNI, I’ve seen it referenced but didn’t fully get how it’s involved. I see that podman uses it to make a MACVLAN interface that can do DHCP (until 5.0, but the replacement seems to be feature-compatible for MACVLAN), so podman will sidestep the pain point of having to assign a no-go-zone on the DHCP server for a Docker swath of IPv4s, as you mentioned. Close enough for containers that the host doesn’t need to talk to.

So in summary:

Thanks again for taking the time to type and explain all of that!

source
Sort:hotnewtop