Last active
August 6, 2024 22:03
-
-
Save haroldcris/afbf40770571550555c3c4eb14bf70d0 to your computer and use it in GitHub Desktop.
ubuntu docker
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo snap install curl | |
curl -fsSL https://get.docker.com -o get-docker.sh | |
sudo sh get-docker.sh | |
#install vscode | |
sudo snap install --classic code |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
as of 2024-08-07
remove old version
for pkg in docker.io docker-doc docker-compose docker-compose-v2 podman-docker containerd runc; do sudo apt-get remove $pkg; done
Add Docker's official GPG key:
Add the repository to Apt sources:
Install Docker
sudo apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin