We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 57f8133 commit 2a3d9faCopy full SHA for 2a3d9fa
common/setup_docker_root.sh
@@ -1,4 +1,4 @@
1
-#!/bin/bash -e
+#!/bin/bash -ex
2
3
scriptdir=$(realpath $(dirname "$0"))
4
source ${scriptdir}/common.sh
@@ -32,10 +32,8 @@ function install_docker_ubuntu() {
32
function install_docker_centos() {
33
which docker && return
34
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
+ yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
+ retry yum install -y docker-ce-cli-20.10.9 docker-ce-20.10.9
39
}
40
41
function install_docker_rhel_7() {
0 commit comments