Move on if docker install has issues

This commit is contained in:
Taylor Helsper 2022-09-03 21:15:20 -05:00
parent a8b5b43dcd
commit f59e01868d
2 changed files with 2 additions and 2 deletions

View File

@ -286,7 +286,7 @@ if ! skip_base_upgrades ; then
"deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/debian \ "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/debian \
$(lsb_release -cs) stable" | tee /etc/apt/sources.list.d/docker.list > /dev/null $(lsb_release -cs) stable" | tee /etc/apt/sources.list.d/docker.list > /dev/null
$TORIFY apt-get update --allow-releaseinfo-change $TORIFY apt-get update --allow-releaseinfo-change
$TORIFY apt-get install -y docker-ce docker-ce-cli containerd.io docker-compose-plugin $TORIFY apt-get install -y docker-ce docker-ce-cli containerd.io docker-compose-plugin || true
# Use systemd for managing Docker # Use systemd for managing Docker
rm -f /etc/init.d/docker rm -f /etc/init.d/docker

View File

@ -336,7 +336,7 @@ echo \
"deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/debian \ "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/debian \
$(lsb_release -cs) stable" | tee /etc/apt/sources.list.d/docker.list > /dev/null $(lsb_release -cs) stable" | tee /etc/apt/sources.list.d/docker.list > /dev/null
apt-get update --allow-releaseinfo-change apt-get update --allow-releaseinfo-change
apt-get install -y docker-ce docker-ce-cli containerd.io docker-compose-plugin apt-get install -y docker-ce docker-ce-cli containerd.io docker-compose-plugin || true
# Use systemd for managing docker # Use systemd for managing docker
rm -f /etc/init.d/docker rm -f /etc/init.d/docker