【发布时间】:2016-05-24 23:24:18
【问题描述】:
CentOS version: lsb_release -d
Description: CentOS release 6.5 (Final)
我的仓库是这样的
cat /etc/yum.repos.d/docker.repo
[dockerrepo]
name=Docker Repository
baseurl=https://yum.dockerproject.org/repo/main/centos/$releasever/
enabled=1
gpgcheck=1
gpgkey=https://yum.dockerproject.org/gpg
我有一些旧版本的 docker,当我尝试安装它时,我得到一个错误。当我尝试跳过选项时,即使在我的centos上甚至不存在docker服务yum install docker-engine也会出现以下问题
Processing Conflict: docker-engine-1.7.1-1.el6.x86_64 conflicts docker-io
--> Finished Dependency Resolution
Error: docker-engine conflicts with docker-io-0.6.2-1.el6.x86_64
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest"
然后当我尝试启动它时,service docker start 不存在。
我如何清理所有 docker 的东西并从头开始?
【问题讨论】: