Skip to content

Instantly share code, notes, and snippets.

@carlosfgti
Last active April 17, 2024 15:23
Show Gist options
  • Save carlosfgti/12d9f174b5727afd1d563fb4e278854a to your computer and use it in GitHub Desktop.
Save carlosfgti/12d9f174b5727afd1d563fb4e278854a to your computer and use it in GitHub Desktop.
1) Se tiver o Docker instalado, remova!
2) Habilite o WSL no Windows 10
dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart
3) Habilitar o WSL para a versão 2
wsl --set-default-version 2
4) Instalar o Ubuntu na Microsoft Store
5) Instalar o Windows Terminal
6) Desabilitar o Hyper-v
7) Criar o arquivo .wslconfig em "C:\Users\<seu_usuario>"
[wsl2]
memory=8GB
processors=4
swap=2GB
8) Instalar o Docker
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment