Skip to content

Instantly share code, notes, and snippets.

@willyms
Forked from luizomf/tutorial.txt
Last active June 6, 2022 15:33
Show Gist options
  • Save willyms/d0ac82bed328015fbc176da4dd2281df to your computer and use it in GitHub Desktop.
Save willyms/d0ac82bed328015fbc176da4dd2281df 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/
## Passo 8 Checar instalação
$ docker -v ou docker --version
$ docker-compose -v ou docker-compose --version
@willyms
Copy link
Author

willyms commented May 27, 2022

passo a passo instalação docker para windows

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