Skip to content

Instantly share code, notes, and snippets.

@ronaldomendes
Forked from luizomf/tutorial.txt
Created May 11, 2022 01:52
Show Gist options
  • Save ronaldomendes/01421c835db68f2c3cb465e29c59dbe8 to your computer and use it in GitHub Desktop.
Save ronaldomendes/01421c835db68f2c3cb465e29c59dbe8 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