Update 'install-docker.sh'

This commit is contained in:
Dorian Zedler 2022-07-25 15:05:17 +02:00
parent 04900c639c
commit 12dc7a1a1e

View file

@ -6,6 +6,7 @@ echo "**** remove old versions ****"
sudo apt-get remove docker docker.io containerd runc; sudo apt-get remove docker docker.io containerd runc;
echo "**** download gpg key ****" echo "**** download gpg key ****"
mkdir -p /etc/apt/keyrings
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg; curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg;
echo "**** add repo ****" echo "**** add repo ****"