From 3baa57ddb701fd79bdc21964009abc0b7f7a07e6 Mon Sep 17 00:00:00 2001 From: Michal Rostecki Date: Thu, 15 Oct 2015 07:34:44 +0200 Subject: [PATCH] Pin Docker version to 1.8.2 Currently Ansible have issues with Docker 1.8.3. We have to pin version to 1.8.2 before including fix [1] in tagged Ansible version. [1] https://github.com/ansible/ansible-modules-core/pull/2258 Change-Id: If802ff118782ec521acfff00e286cde703bf37b3 --- dev/vagrant/bootstrap.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/dev/vagrant/bootstrap.sh b/dev/vagrant/bootstrap.sh index d1d8248f63..dbe6860439 100644 --- a/dev/vagrant/bootstrap.sh +++ b/dev/vagrant/bootstrap.sh @@ -45,6 +45,11 @@ enabled=1 gpgcheck=1 gpgkey=https://yum.dockerproject.org/gpg EOF + # Pin Docker version to 1.8.2 before including this change + # https://github.com/ansible/ansible-modules-core/pull/2258 + # in some tagged version of Ansible. + yum install -y yum-plugin-versionlock + yum versionlock add docker-engine-1.8.2-1.el7.centos.* # Also upgrade device-mapper here because of: # https://github.com/docker/docker/issues/12108 yum install -y docker-engine device-mapper