class: inverse layout: true --- class: center, middle # Install docker on Windows 10 Home --- class: middle # The Context - If you want to run Docker for Desktop on Windows 10 you need to have Hyper-V and Containers enabled. - Windows 10 Home doesn't have those - You can still install Docker for Desktop anyway, don't buy 200$ of license You will see the following message: ``` Installation Failed: one prerequisite is not fulfilled Docker Desktop requires Windows 10 Pro or Enterprise version 15063 to run. ``` --- class: middle # Install Hyper-V - To install Hyper-V, copy and paste into `Hyper-V.bat` the following lines and then run as an Administrator, reboot: ``` 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 ``` --- # Install Containers - To install Containers, copy and paste into `Containers.bat` the following lines and then run as an Administrator, reboot: ``` 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 ``` --- # Change Type of Windows - Go to: `\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion` - Change the value of `EditionId` to `Professional` clicking on *Modify* - Don't reboot - Install Docker For Desktop --- class: center, middle # So long and thanks for all the fish!