I have Windows 10 Professional 2004 build 19041.329.
I have the latest Docker Desktop for windows, and have chosen Ubuntu 18.04 LTS as my WSL distro.
I have set all the proper settings to enable WSL 2 in Docker Desktop, and am able to run commands like docker info
without issue.
However, when I try to run docker build -t mytestimage:1.0 .
via a Ubuntu terminal, it takes several minutes, and then sends the build context to the docker daemon, but does so VERY slowly.
If I run the same command from a Windows command prompt, it works very quickly
I did not have this problem with WSL 1, and am unsure how to even diagnose what might be wrong and why this is so slow in WSL 2.