In "naked" Docker, I can use --network=host to make the host reachable from the container through the docker0 interface at 127.0.0.1
--network=host
docker0
127.0.0.1