Merge pull request #1 from gufengxiaoyuehan/remove_old

remove old first
pull/688/head
logan 2020-01-01 12:49:17 +08:00 committed by GitHub
commit 131002ae25
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 11 additions and 0 deletions

View File

@ -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