Have you tried this solution?
Basically, remove dnsresolver and anything related to dns in docker-compose.yaml, change urls to use https://host.docker.internal:<port>
, and then in your “hosts” file, make sure you have 127.0.0.1 host.docker.internal
. I’m pretty sure you should only have one host.docker.internal entry in the hosts file, and it should point to 127.0.0.1.
The only issue I got when using this solution was that the site refused to connect. Killing the vpnkit.exe
process fixed that, running this command in CMD:
tasklist | findstr vpnkit.exe