Move on if docker install has issues
This commit is contained in:
parent
a8b5b43dcd
commit
f59e01868d
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user