Install Docker on Windows 10 Home
Sometimes we have to install Docker as fast as possible to execute a project, but we find that our version of Windows 10 is Home.
But knowing that we try to install Docker and it throws us the following error message:
This occurs because Docker needs Hyper-V to run on Windows and the basic version doesn’t have that feature.
Searching in some Reddit Post, I found how to Install Docker without the need to buy the Windows Pro or Enterprise license, so it was interesting to share it.
Before Installing Docker
Before starting it is necessary to install Hyper-V and Containers using batch files with “.bat” termination, typical of Microsoft.
Installing Hyper-V
We will create a hyper v.bat
file and add the following code to our file.
|
|
With our file ready we run it in administrator mode, you can use PowerShell.
This process takes a little time.
When it’s done, don’t restart your computer.
Installing Containers
Like Hyper-V, we will create a file called container.bat
and add the following code.
|
|
We run our file in administrator mode and wait a few minutes while it runs.
Once the process is finished, we can restart our computer.
Editing the Windows Version in Registry
We open the Windows executable using the command Windows + R and write regedit
.
In the Registry Editor we will look for the following directory.
\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion
We click EditionID a window will be displayed where we will change Value Data to Professional
.
We accept.
You shouldn’t restart the computer if you do, we will have to configure EditionID again.
Installing Docker
To install Docker, we download the executable available in Docker Hub.
Once Docker is downloaded, we run the installer as administrator.
Docker will start to run. When the installation is complete the computer will restart.
Great Job!, Docker has been installed.
Docker Testing
If you want to test the docker installation, you can use the following docker command.
|
|
If you liked the guide, share it and let me know, if you find any mistakes you can tell me we are here to learn from our mistakes and good luck.
You can also invite me for a coffee ☕️ Paypal
Thanks! ❤️