Skip to content

Instantly share code, notes, and snippets.

@carlosdelfino
Created March 20, 2020 22:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save carlosdelfino/c7b88b2e86af4458a850132a1eb78890 to your computer and use it in GitHub Desktop.
Save carlosdelfino/c7b88b2e86af4458a850132a1eb78890 to your computer and use it in GitHub Desktop.

Instalando o Docker WSL2

O Objetivo aqui é registrar os comandos necessários para instalar o Docker no WSL2 e assim exitinguir o Uso do Docker Tool Box para windows e outras adaptações.

Abra o terminal do Ubuntu WSL em seu windows e execute os comandos abaixo:

sudo apt update
sudo apt upgrade
sudo apt install apt-transport-https ca-certificates curl software-properties-common
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu bionic stable"
sudo apt update
apt-cache policy docker-ce
sudo apt install docker-ce

sudo apt-get remove docker docker-engine docker.io containerd runc

sudo usermod -aG docker carlosdelfino
su - carlosdelfino
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment