Docker containers in WSL2

Got a problem with Viscosity or need help? Ask here!

RegridTim

Posts: 1
Joined: Fri Dec 09, 2022 2:38 am

Post by RegridTim » Fri Dec 09, 2022 2:42 am
I am running docker containers on Windows using WSL2. It seems that the VPN connection is not being used by the docker containers. Any help would be appreciated.

Aaron

Posts: 5
Joined: Wed Nov 30, 2022 2:53 pm

Post by Aaron » Mon Dec 12, 2022 9:40 pm
Hi RegridTim,

This is a known issue with WSL 2 and the way it does networking. I'm afraid it is beyond anything Viscosity has control over.

You could potentially try following the guide linked below, which covers using Docker on WSL 2 with host VPN support. Please note that this guide was not written or tested by us, nor the "wsl-vpnkit" it suggests using, so please treat it with caution:
https://medium.com/twodigits/install-do ... b8e200e171

Regards,
Aaron
Web: https://www.sparklabs.com
Support: https://www.sparklabs.com/support
Twitter: https://twitter.com/sparklabs
2 posts Page 1 of 1