'When Docker and VPN turned on can only access some endpoints/websites

When I have both Docker Desktop and my VPN (needed for client environment) turned on I can't access many endpoints. I can access some, but they seem very random (can access Stack Overflow, can't access Microsoft or Red Hat websites for example). When I turn off my VPN I can access all these endpoints again.

This behaviour only happens when Docker Desktop (version 4.4.3) is running. Is there a configuration in Docker that I can change to remediate this behaviour?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source