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
This commit is contained in:
parent
d580d35647
commit
81fcbebe9f
|
@ -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…
Reference in New Issue