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相关内容并从头开始?