Zeroconf and dhcp in standard development environment

I’ve setup a development environment with Docker on Windows 11 as described here:

However, zeroconf or dhcp discovery as described here:

don’t work in that environment. No devices are discovered. Discovery works well in a production environment.

What am I missing?