Docker: Update install-docker.sh script

Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
Michael Mayer 2022-12-04 11:51:04 +01:00
parent 6e57935a48
commit 08937b779b

View file

@ -8,7 +8,7 @@ set -e
# Install distribution packages.
sudo apt-get update
sudo apt-get install ca-certificates curl gnupg lsb-release
sudo apt-get -qq install ca-certificates curl gnupg lsb-release
# Install key.
sudo mkdir -p /etc/apt/keyrings
@ -20,7 +20,7 @@ echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.
# Install Docker with Compose Plugin.
sudo apt-get update
sudo apt-get install docker-ce docker-ce-cli containerd.io docker-compose-plugin
sudo apt-get -qq install docker-ce docker-ce-cli containerd.io docker-compose-plugin
# Verify installation works.
sudo docker run hello-world