In case you want to enable the docker support to other available WSL Linux distros then simply go to the Docker Desktop app, select the Resources option given on the left side, and select WSL integration. Thus, you can easily start using it from PowerShell.
#Docker factory reset from command line install
And start it.Īlthough after installing the Docker, it will automatically install its own WSL 2 Linux distro on your system as the default one. You will see the icon on your desktop to run this open source containerized platform, double click on that. When the above command asks for your permission to install the packages, allow it by typing A and hitting the Enter key. Now, everything is ready on Powershell and we can use the Choco command to install Docker on Windows 10 Desktop or Windows Server OS. Note: Once the Chocolatey is on your system, close the Powershell and reopen it as Admin.Ĭommand to install Docker Desktop using PowerShell on Windows Set-ExecutionPolicy Bypass -Scope Process -Force ::SecurityProtocol = ::SecurityProtocol -bor 3072 iex ((New-Object ).DownloadString(‘’)) Run the below command to enable it in Powershell The command tool used by this Windows package manager is choco. Just like Linux packages managers, for example, DNF of CentOS and APT available in Ubuntu, one is also available for Windows operating systems called Chocolatey.
![docker factory reset from command line docker factory reset from command line](https://www.technorms.com/assets/how-to-factory-reset-windows10-using-command-prompt1-630x301.png)
We need to have the Administrator access of PowerShell to run the installation command for Docker, thus, right-click on the Windows 10 Start button and select the “Windows PowerShell (Admin)” option. Note: Make sure the WSL- Windows subsystem for Linux is already enabled on your system before performing the below-given steps.
![docker factory reset from command line docker factory reset from command line](https://www.minitool.com/images/uploads/articles/2019/08/factory-reset-command-prompt/factory-reset-command-prompt-2.png)
Just use the command line, follow the below steps, and you are done.
![docker factory reset from command line docker factory reset from command line](https://www.technorms.com/assets/how-to-factory-reset-windows10-using-command-prompt1.png)
Most of us download and use the executable file available on the official website of this containerized platform to set it up, however, you don’t have to do all that. Extra Tip: Convert WSL 1 distro to WSl 2 Install Docker using Powershell on Windows 10 with a single command