I got the same problem that was discussed here WSL2 integration does not support --net=host · Issue #6736 · docker/for-win · GitHub
I use windows 10 that not supports wsl mirrored mode and I can’t use port forwarding, because I am obligated to use --network=host
by this container https://hub.docker.com/r/prom/node-exporter/