Answer the question
In order to leave comments, you need to log in
What is the preferred way to run Docker on Windows 10 + WSL2?
Hello.
Got Windows 10. On board WSL2 with Ubuntu-20.04.
There is a need to run a couple of docker containers.
Method one:
Install Docker Desktop on Windows and tell it to use wsl2.
Method two:
Install docker directly on Ubuntu. Those. we will manage the docker from under wsl.
Tried both. Both work. I didn't notice much of a difference in performance.
But is there any difference? Or not?
Which of these two methods is preferable and why?
Thank you.
P.S. and not to get up twice.
Is there a regular way to store wsl files not on the system drive?
Answer the question
In order to leave comments, you need to log in
Which of these two methods is preferable and why?
Install Docker Desktop on Windows and tell it to use wsl2.
wsl --list
wsl --export Ubuntu d:\ubuntu.tar
wsl --unregister Ubuntu
wsl --import Ubuntu d:\Ubuntu d:\ubuntu.tar
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question