Skip to content

Instantly share code, notes, and snippets.

@luizomf
Created August 7, 2021 10:51
Show Gist options
  • Save luizomf/8bc93474de107bff6ee09b1ceee481df to your computer and use it in GitHub Desktop.
Save luizomf/8bc93474de107bff6ee09b1ceee481df 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/
@TiagoMabango
Copy link

Sempre que quero instalar o docker em uma maquina nova, venho para esse tutorial. Muito top!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment