yum 安装错误 docker
yum install error docker
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,当我尝试安装它时,出现错误。当我尝试跳过选项时,即使在那之后 docker 服务在我的 centos 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 内容并从头开始执行此操作?
Docker正式发布no longer supports RHEL/Centos 6。我认为 1.7.1 停止了,正式版本是 1.10。我建议更新到 Centos 7 或任何具有 3.10+ 内核的系统以使用最新的 docker-engine
,因为它已经有了很大改进。
如果您无法使用 Centos 6.5,那么要么继续使用 EPEL docker-io 软件包,要么安装 the 1.7.1 rpm.
完全删除 Centos 6 包
yum remove docker-io
移除所有docker数据(以及never拿回来!)
rm -rf /var/lib/docker
删除 Docker 存储库配置
rm /etc/yum.repos.d/docker.repo
要么重新安装 docker-io
yum install docker-io
yum install http://yum.dockerproject.org/repo/main/centos/6/Packages/docker-engine-1.7.1-1.el6.x86_64.rpm
启动它 docker
service docker start
docker run hello-world
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,当我尝试安装它时,出现错误。当我尝试跳过选项时,即使在那之后 docker 服务在我的 centos 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 内容并从头开始执行此操作?
Docker正式发布no longer supports RHEL/Centos 6。我认为 1.7.1 停止了,正式版本是 1.10。我建议更新到 Centos 7 或任何具有 3.10+ 内核的系统以使用最新的 docker-engine
,因为它已经有了很大改进。
如果您无法使用 Centos 6.5,那么要么继续使用 EPEL docker-io 软件包,要么安装 the 1.7.1 rpm.
完全删除 Centos 6 包
yum remove docker-io
移除所有docker数据(以及never拿回来!)
rm -rf /var/lib/docker
删除 Docker 存储库配置
rm /etc/yum.repos.d/docker.repo
要么重新安装 docker-io
yum install docker-io
yum install http://yum.dockerproject.org/repo/main/centos/6/Packages/docker-engine-1.7.1-1.el6.x86_64.rpm
启动它 docker
service docker start
docker run hello-world