diff --git a/docker_install_centos.sh b/docker_install_centos.sh index c43814ed..fb06e252 100755 --- a/docker_install_centos.sh +++ b/docker_install_centos.sh @@ -14,6 +14,17 @@ function checkSudo (){ checkSudo +# rm old or flawed installation first +yum remove docker \ + docker-client \ + docker-client-latest \ + docker-common \ + docker-latest \ + docker-latest-logrotate \ + docker-logrotate \ + docker-engine + + ## something required system utils yum install -y yum-utils device-mapper-persistent-data lvm2