Revert to the correct docker-ce version

Make sure to use the docker-ce version expected by the platform, and
not a newer one.
This commit is contained in:
2018-03-15 12:41:53 +01:00
parent 17474c1bf7
commit efca01ddba
2 changed files with 5 additions and 2 deletions

View File

@@ -20,6 +20,9 @@
# Import settings
. ./settings.sh
# Enable access to the extra repository
subscription-manager repos --enable=rhel-7-server-extras-rpms
# Following official instructions from:
# https://docs.docker.com/install/linux/docker-ce/centos/
@@ -40,7 +43,7 @@ Docker Repository correct key is:
If prompted, check the key is correct and accept it.
EOT
sudo yum install docker-ce-17.12.0.ce-1
sudo yum install docker-ce-17.09.1.ce
sudo yum install yum-versionlock
sudo yum versionlock docker-ce

View File

@@ -36,7 +36,7 @@ sudo add-apt-repository \
$(lsb_release -cs) \
stable"
sudo apt update
sudo apt install docker-ce=17.12.1~ce-0~ubuntu
sudo apt install docker-ce=17.09.1~ce-0~ubuntu
sudo apt-mark hold docker-ce
# Install docker-compose