Skip to content

Instantly share code, notes, and snippets.

@LeoFeitosa
Forked from luizomf/tutorial.txt
Created April 7, 2022 23:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save LeoFeitosa/5ac31ce0080de8561b0f44c9aa71dde3 to your computer and use it in GitHub Desktop.
Save LeoFeitosa/5ac31ce0080de8561b0f44c9aa71dde3 to your computer and use it in GitHub Desktop.
WSL2 e Docker no Windows 10.
### Tutorial oficial:
https://docs.microsoft.com/en-us/windows/wsl/install-win10
### Passo 1 (PowerShell Admin):
dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
### Passo 2 (PowerShell Admin):
dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart
### Passo 3
REINICIE O COMPUTADOR
### Passo 4 (Download the Linux kernel update package):
https://wslstorestorage.blob.core.windows.net/wslblob/wsl_update_x64.msi
### Passo 5 (PowerShell Admin):
wsl --set-default-version 2
### Passo 7 (Instale o docker):
Tutorial: https://docs.docker.com/docker-for-windows/install/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment