Skip to content

Instantly share code, notes, and snippets.

@luizomf
Created May 27, 2021 16:23
Show Gist options
  • Save luizomf/f0b5e927267648f20730ba1e7e1ea34a to your computer and use it in GitHub Desktop.
Save luizomf/f0b5e927267648f20730ba1e7e1ea34a to your computer and use it in GitHub Desktop.
Docker no Windows
Ativar WSL2
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
Instale o pacote baixado acima
Passo 6 (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