Docker installation on Windows 10 Home

Viewed 695

I am unable to install Docker for Desktop in Windows 10 Home edition. I tried some work around. But nothing worked out. Has anyone installed in Win 10 home? Please advise the procedure. Thanks in advance.

  1. Executed this InstallHyperV.bat

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

  1. Executed this InstallContainers.bat

pushd "%~dp0" dir /b %SystemRoot%\servicing\Packages*containers*.mum >containers.txt for /f %%i in ('findstr /i . containers.txt 2^>nul') do dism /online /norestart /add-package:"%SystemRoot%\servicing\Packages\%%i" del containers.txt Dism /online /enable-feature /featurename:Containers -All /LimitAccess /ALL pause

  1. Restarted the pc.

  2. In the Registry Editor, edited  \HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion Right-click on EditionID and Click Modify Changed Value Data to Professional.

  3. Tried to install docker for desktop exe file.

After sometime, it throws an error as hyper-v is not found on this pc.

3 Answers

Windows 10 home doesn't support Hyper-V.

From the the hyper-v requirements, you need either Windows 10 Enterprise, Pro, or Education.

  1. you just can’t use the Hyper-V version of docker but you can use the VirtualBox version.
  2. And you can upgrade your windows edition to professional or enterprise or education.

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.

  1. Go to Settings -> Update&Security -> Windows Insider Program and enroll for the 'Slow' track of windows insider.

  2. Enable WSL from instructions given here https://docs.microsoft.com/en-us/windows/wsl/install-win10

  3. Upgrade to WSL2 from here https://docs.microsoft.com/en-us/windows/wsl/wsl2-kernel

  4. Download this version of Docker which supports WSL2 during installation itself : https://download.docker.com/win/stable/Docker%20Desktop%20Installer.exe

  5. Check the boxes to use WSL2 instead of Hyper-V.

Related