使用以下命令中的2个安装docker时有什么区别? [英] What's the difference when installing docker with 2 of these following command?

查看:160
本文介绍了使用以下命令中的2个安装docker时有什么区别?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当在Centos上安装Docker时,我发现有两种不同的方法来实现。

When it comes to install Docker on centos, i found 2 different ways to do it.

第一个是: yum install docker -engine

第二个是: yum install docker-io

如果我使用第一个安装docker,我继续第二个错误出现,如下所示:

And in case i installed docker using the first one, it i continue with the second one the error appeared, like this:

Error: docker-engine conflicts with docker-1.8.2-10.el7.centos.x86_64
Error: docker-engine-selinux conflicts with docker-selinux-1.8.2-10.el7.centos.x86_64

所以任何人都可以告诉我们有什么区别? / p>

So anyone can tell me what's the difference between them?

推荐答案

这可以追溯到从2015年6月,当 Docker宣布新的Apt和Yum Repos

This dates back from June 2015, when Docker announced "New Apt and Yum Repos"

这是新的包(像CentOS一样的)被命名为docker-engine(最初替换为$ code> lxc-docker * )

That is when new packages (like the one for CentOS) were named docker-engine (initially to replace lxc-docker*)

这篇关于使用以下命令中的2个安装docker时有什么区别?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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