Skip to content

Instantly share code, notes, and snippets.

@MaxySpark
Last active June 7, 2019 11:30
Show Gist options
  • Select an option

  • Save MaxySpark/24ce4aca44f93e3c6b6d291f507f6d35 to your computer and use it in GitHub Desktop.

Select an option

Save MaxySpark/24ce4aca44f93e3c6b6d291f507f6d35 to your computer and use it in GitHub Desktop.
Docker For Windows 10 Home
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion]
"EditionID"="CoreSingleLanguage"
"ProductName"="Windows 10 Home Single Language"
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
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion]
"EditionID"="Professional"
"ProductName"="Windows 10 Pro"
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
hyperV.bat
container.bat
REG IMPORT docker.reg
pause
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment