π¦ docker π³
sudo apt-get install \
apt-transport-https \
ca-certificates \
curl \
gnupg-agent \
software-properties-commoncurl -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 \
$(lsb_release -cs) \
stable"sudo apt-get install docker-ce docker-ce-cli containerd.ioπ We will need to run docker daemon, to run it you can execute this
systemctl start dockerBut if you want to start it every time you restart your computer
sudo systemctl enable dockerAnd disabled with
sudo systemctl disable dockerβοΈ Test if it's working
docker run hello-worldRemove Sudo for docker
π https://askubuntu.com/questions/1165877/is-it-possible-to-use-docker-without-sudo
sudo groupadd dockersudo usermod -aG docker $USERπ π» Restart computer or re-start docker daemon
β If not working
sudo chown "$USER":"$USER" /home/"$USER"/.docker -R sudo chmod g+rwx "$HOME/.docker" -R