linux - Docker升级问题cent os 6.5

标签 linux centos docker

我正在尝试在我的 Cent Os 6.5 虚拟机上升级 docker,但遇到了一些问题。

当我尝试启动 docker 服务时,它没有启动,它的状态是停止的。

[root@localhost /]# sudo service docker status
docker is stopped

我尝试使用以下命令安装 docker

[root@localhost /]# sudo yum install docker

它退出并出现以下错误

Transaction Check Error:
  file /usr/bin/docker from install of docker-1.5-5.el6.x86_64 conflicts with file from package docker-io-1.5.0-1.el6.x86_64

并使用 docker-io 命令

[root@localhost /]# sudo yum install docker-io
Loaded plugins: fastestmirror, security
Setting up Install Process
Loading mirror speeds from cached hostfile
 * base: centosmirror.go4hosting.in
 * epel: mirrors.vinahost.vn
 * extras: centosmirror.go4hosting.in
 * updates: centosmirror.go4hosting.in
Package docker-io-1.5.0-1.el6.x86_64 already installed and latest version
Nothing to do

所以这是我目前的情况,我只想删除当前的 docker 版本并安装 docker 1.6。

谢谢。

最佳答案

该软件包在 CentOS 6.5 上称为 docker-io(您可以在此处了解原因:https://docs.docker.com/installation/rhel/)。

但是,EPEL 目前只有 Docker 1.5,因此您无法从那里升级到 Docker 1.6:https://dl.fedoraproject.org/pub/epel/6/x86_64/repoview/docker-io.html

您可以在此处检查包裹状态的更新:https://admin.fedoraproject.org/updates/docker-io

关于linux - Docker升级问题cent os 6.5,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29940165/

相关文章:

c++ - 如何使用 QT、OpenGL、C++ 和 Linux 更改屏幕分辨率?

php - 如何安装已安装但缺少依赖项 php-common 的 php-mbstring?

docker - 我如何在RethinkDB + Docker中运行rethinkdb-dump/export

python - 处理来自 gunicorn 的请求

ruby-on-rails - rails 数据库 :migrate with postgres running in a container

docker - 来自环境的动态docker-compose配置

linux - 如何更改 bash 历史完成以完成已经上线的内容?

c - 为什么在 struct file_operation 中没有 munmap 回调?

C++ fork 进程但不是子进程

sql-server - 更改 Linux 上的默认 SQL Server 时区?