Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
freddii committed Aug 26, 2023
1 parent 67bff51 commit 1a4679b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions install_docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ sudo apt -y update
# gnupg-agent \
# software-properties-common -y
#sudo apt install lsb-release gnupg2 apt-transport-https ca-certificates curl software-properties-common -y
sudo apt-get install ca-certificates curl gnupg
sudo apt install ca-certificates curl gnupg -y
echo "Add Docker’s official GPG key"
#curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo install -m 0755 -d /etc/apt/keyrings
Expand All @@ -43,7 +43,7 @@ echo \
#sudo add-apt-repository "deb [arch=$(dpkg --print-architecture)] https://download.docker.com/linux/debian $(lsb_release -cs) stable"
#update repo and install docker
sudo apt update
sudo apt install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
sudo apt install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin -y
#sudo apt install docker-ce docker-ce-cli containerd.io docker-compose-plugin
#test docker
sudo docker run hello-world
Expand Down

0 comments on commit 1a4679b

Please sign in to comment.