百胜安装错误泊坞窗 [英] yum install error docker

查看:124
本文介绍了百胜安装错误泊坞窗的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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 仍存在以下问题

I have some old version of docker and when I try to install it, I get an error. When I try the skip option, even after that the docker service does not even exist on my centos yum install docker-engine has the following problem

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 不存在.

Then service docker start does not exist when I try to start it.

我该如何清理所有docker内容并从头开始?

How do I do clean of all docker stuff and do this from scratch?

推荐答案

Docker的正式发行版不再支持RHEL/Centos 6 .我认为应该从1.7.1开始,官方发布版本是1.10.我建议升级到Centos 7或任何具有3.10+内核的版本,以使用最新的 docker-engine ,因为它已经有了很多改进.

Docker's official release no longer supports RHEL/Centos 6. I think that stopped with 1.7.1 and the official release is at 1.10. I would suggest updating to Centos 7 or anything with a 3.10+ kernel to use the latest docker-engine as it has improved quite a bit.

如果您对Centos 6.5感到困惑,则可以继续使用EPEL docker-io软件包或安装

If you are stuck with Centos 6.5 then either continue with the the EPEL docker-io package or install the 1.7.1 rpm.

完全删除Centos 6软件包

Completely remove the Centos 6 package

yum remove docker-io

删除 所有 码头工人数据(并且 从不 将其取回!)

Remove all docker data (and never get it back!)

rm -rf /var/lib/docker

删除Docker存储库配置

Remove the Docker repo config

rm /etc/yum.repos.d/docker.repo

再次安装 docker-io

yum install docker-io

或安装启动它和docker

Start it and docker

service docker start
docker run hello-world

这篇关于百胜安装错误泊坞窗的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆