Docker: Difference between revisions

From Chorke Wiki
Jump to navigation Jump to search
(Created page with "<source lang="bash"> dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart dism.exe /online /enable-feature /featurename:VirtualMachi...")
 
No edit summary
Line 1: Line 1:
'''Windows 10 Home'''
<source lang="bash">
<source lang="bash">
dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart

Revision as of 01:21, 14 August 2020

Windows 10 Home

dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart
wsl --set-default-version 2
docker pull hello-world
docker run -it --rm --name hello hello-world:latest
winpty docker run -it --rm --name hello hello-world:latest

Reference