I am facing problem while installing the Docker on my machine. OS is Windows 10 Home Edition. I want to use Splash and that needs Docker.
If you don't want to go the Hyper-V way you can use Docker with WSL2(Windows Subsystem for Linux) for Windows 10 Home.
Go to Settings -> Update&Security -> Windows Insider Program and enroll for the 'Slow' track of windows insider.
Enable WSL from instructions given here https://docs.microsoft.com/en-us/windows/wsl/install-win10
Upgrade to WSL2 from here https://docs.microsoft.com/en-us/windows/wsl/wsl2-kernel
Download this version of Docker which supports WSL2 during installation itself : https://download.docker.com/win/stable/Docker%20Desktop%20Installer.exe
Check the boxes to use WSL2 instead of Hyper-V.
I was able to install Docker on Windows 10 home edition by installing legacy Docker software called Docker toolbox and enabling the virtualization in my systems BIOS. Check this to follow the procedure: Installing Docker on Windows 10 home successfully How to enable virtualization in your systems
First, check that your PC supports Hyper-V and you have Hyper-V enabled in BIOS. Windows Home does not allows to install some features/packages in GUI, but it's possible to add them from command line.
Make a file hyperv.bat
file and run is at Administrator:
@rem Install Hyper-V on Windows Home
pushd "%~dp0"
dir /b %SystemRoot%\servicing\Packages\*Hyper-V*.mum >hyper-v.txt
for /f %%i in ('findstr /i . hyper-v.txt 2^>nul') do dism /online /norestart /add-package:"%SystemRoot%\servicing\Packages\%%i"
del hyper-v.txt
Dism /online /enable-feature /featurename:Microsoft-Hyper-V -All /LimitAccess /ALL
pause
Reboot computer after that. Then you need to trick the Docker installer to think you have Windows Pro: change your registry: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion
and change EditionID
from Core
to Professional
.
Instal Docker for Windows, change the registry back. And that's all.
See also https://xmedeko.blogspot.com/2019/04/running-docker-on-windows-10-home.html
Disable Credential Guard as per https://docs.microsoft.com/en-us/windows/security/identity-protection/credential-guard/credential-guard-manage This doesn't happens when the credential helper is run in 'Administrative mode', reason being that running scripts is disabled, we need to enable it So, as per https://winaero.com/blog/change-powershell-execution-policy-windows-10/ Open 'Command Prompt' in 'Administrator' mode and type -
cd C:\Windows\System32\WindowsPowerShell\v1.0\
C:\Windows\System32\WindowsPowerShell\v1.0>Powershell.exe -ExecutionPolicy Unrestricted -File E:\software\dgreadiness_v3.6\DG_Readiness_Tool_v3.6.ps1 -Disable -AutoReboot
After this, the system reboots and credential guard is disabled
If you install the latest Windows 20H1 update you can install Docker Desktop on Windows 10 Home.
c.f. https://www.codingnagger.com/2020/06/20/install-docker-desktop-on-windows-10/
Docker Toolbox ( Old Link ): https://www.docker.com/products/docker-toolbox
Now You can use Docker Toolbox from here: https://docs.docker.com/toolbox/overview/
Follow these steps to install Docker Toolbox: https://docs.docker.com/toolbox/toolbox_install_windows/#step-3-verify-your-installation
or:
https://docs.bitnami.com/containers/how-to/install-docker-in-windows/
Tutorial For Virtualization : https://www.tutorialspoint.com/windows10/windows10_virtualization.htm