fix the docker version to 17.05
Change-Id: I25983c6f56c3b2007482732c3ae8671847b3d47c
This commit is contained in:
parent
02fcbddc87
commit
a5f11cf3a0
@ -2,7 +2,9 @@
|
||||
echo "nameserver 8.8.8.8" > /etc/resolv.conf
|
||||
daisy_management_ip=$1
|
||||
yum -y install epel-release
|
||||
curl -sSL https://get.docker.io | bash
|
||||
#curl -sSL https://get.docker.io | bash
|
||||
yum remove -y docker-engine
|
||||
yum install -y https://yum.dockerproject.org/repo/main/centos/7/Packages/docker-engine-17.05.0.ce-1.el7.centos.x86_64.rpm
|
||||
mkdir -p /etc/systemd/system/docker.service.d
|
||||
config_path=/etc/systemd/system/docker.service.d/kolla.conf
|
||||
touch /etc/sysconfig/docker
|
||||
|
@ -66,7 +66,9 @@ function kolla_install
|
||||
if [[ "$has_installed" == "yes" ]];then
|
||||
echo "docker-engine has been already installed"
|
||||
else
|
||||
curl -sSL https://get.docker.io | bash
|
||||
#curl -sSL https://get.docker.io | bash
|
||||
yum remove -y docker-engine
|
||||
yum install -y https://yum.dockerproject.org/repo/main/centos/7/Packages/docker-engine-17.05.0.ce-1.el7.centos.x86_64.rpm
|
||||
fi
|
||||
mkdir -p /etc/systemd/system/docker.service.d
|
||||
config_path=/etc/systemd/system/docker.service.d/kolla.conf
|
||||
|
Loading…
x
Reference in New Issue
Block a user