gpt4 book ai didi

linux - Docker升级问题cent os 6.5

转载 作者:太空狗 更新时间:2023-10-29 12:30:11 25 4
gpt4 key购买 nike

我正在尝试在我的 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/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com