Skip to content

Commit 2a3d9fa

Browse files
tikitaviAndrey-mp
tikitavi
authored andcommitted
renew docker to 20.10.9
Signed-off-by: tikitavi <akravets@juniper.net> Change-Id: I56151965a10f1a3c18898877f3e3dde70aa133ba
1 parent 57f8133 commit 2a3d9fa

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

common/setup_docker_root.sh

+3-5
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash -e
1+
#!/bin/bash -ex
22

33
scriptdir=$(realpath $(dirname "$0"))
44
source ${scriptdir}/common.sh
@@ -32,10 +32,8 @@ function install_docker_ubuntu() {
3232
function install_docker_centos() {
3333
which docker && return
3434
yum install -y yum-utils device-mapper-persistent-data lvm2
35-
if ! yum info docker-ce &> /dev/null ; then
36-
yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
37-
fi
38-
retry yum install -y docker-ce-18.03.1.ce
35+
yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
36+
retry yum install -y docker-ce-cli-20.10.9 docker-ce-20.10.9
3937
}
4038

4139
function install_docker_rhel_7() {

0 commit comments

Comments
 (0)