I’m new to Docker but I’ve been following the development of WSL2 for quite some time. Just a few days ago, Microsoft released the build 2020 for the insider program, which includes the new WSL2.
I have tried to install docker to run directly on the subsystem and it boots up without any problem.
Unfortunately, though there is a bug with WSL2 so basically we can not use localhost address at the moment.
So I set up a known static IP on my machine and then I applied the following changes the docker host:
I also changed the Windows Firewall config to ensure that incoming connections to the port 2375 are not blocked.
But I keep getting a connection refused error. Any ideas?