Browse Source

airskiff: Purge Docker before installing Docker CE

Currently, if Docker is already installed on a host before running the
Airskiff deployment scripts, deployment will fail due to conflicting
versions of Docker, as the deployment scripts install Docker CE. This
change updates the Airskiff deployment scripts to remove conflicting
versions of Docker before installing Docker CE.

Change-Id: Iad2352dd7ce7dee13040ba5a65bf25347e106c86
changes/66/623566/5
Drew Walters 3 years ago
parent
commit
81fcbebe9f
  1. 4
      tools/deployment/airskiff/developer/000-install-packages.sh

4
tools/deployment/airskiff/developer/000-install-packages.sh

@ -30,7 +30,9 @@ sudo apt-get install --no-install-recommends -y \
ca-certificates \
software-properties-common
# Install Docker CE
# Purge Docker and install Docker CE
systemctl unmask docker.service
sudo apt-get remove --no-install-recommends -y docker docker-engine docker.io
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo apt-add-repository \
"deb [arch=amd64] https://download.docker.com/linux/ubuntu \

Loading…
Cancel
Save