在 CentOS 6.6 上安装 Docker [英] Installing Docker on CentOS 6.6

查看:21
本文介绍了在 CentOS 6.6 上安装 Docker的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在 CentOS 6.6 64 位版本上安装 Docker.执行时

I'm trying to install Docker on CentOS 6.6 64 bit version. When execute

sudo yum install docker

我明白了

Loaded plugins: fastestmirror, refresh-packagekit, security
Setting up Install Process
Loading mirror speeds from cached hostfile
  * base: mirrors.psychz.net
  * extras: centos-distro.cavecreek.net
  * updates: distro.ibiblio.org
No package docker available.
Error: Nothing to do

推荐答案

[澄清]:

根据 官方 docker 文档,关于 Centos 操作系统的要求:

Regarding Centos OS requirements as per the official docker docs:

要安装 Docker 引擎 - 社区,你需要一个 CentOS 7 的维护版本.存档版本不受支持或测试.(所以我假设现在不再支持 Centos 6.)

To install Docker Engine - Community, you need a maintained version of CentOS 7. Archived versions aren’t supported or tested. (So I assume Centos 6 is now no longer supported.)

以下配方适用于 Centos 7 和 8

The following recipes are for Centos 7 and 8

Centos 7:

# cat /etc/os-release
NAME="CentOS Linux"
VERSION="7 (Core)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="7"
PRETTY_NAME="CentOS Linux 7 (Core)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:7"
HOME_URL="https://www.centos.org/"
BUG_REPORT_URL="https://bugs.centos.org/"

CENTOS_MANTISBT_PROJECT="CentOS-7"
CENTOS_MANTISBT_PROJECT_VERSION="7"
REDHAT_SUPPORT_PRODUCT="centos"
REDHAT_SUPPORT_PRODUCT_VERSION="7"

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