Docker最低内核版本3.8.13或3.10 [英] Docker minimum kernel version 3.8.13 or 3.10

查看:1716
本文介绍了Docker最低内核版本3.8.13或3.10的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Docker网站上,我看到的信息正在发生冲突。

On the Docker website I am seeing information that is close to being in conflict.

页面:
https://docs.docker.com/installation/oracle/
说Docker需要使用Unbreakable Enterprise Kernel Oracle Linux上的版本3(3.8.13)或更高版本。

The page: https://docs.docker.com/installation/oracle/ Says "Docker requires the use of the Unbreakable Enterprise Kernel Release 3 (3.8.13) or higher on Oracle Linux."

页面:
https: //docs.docker.com/installation/binaries/
需要3.10。

The page: https://docs.docker.com/installation/binaries/ Says 3.10 is required.

我猜这个东西被添加到特别构建3.8.13,否则需要版本3.10。

I'm guessing that stuff got added into a special build of 3.8.13 which would otherwise require version 3.10.

如果有人可以给出一些很好的澄清。

If anybody could give some clarification that would be great.

推荐答案

正确;在一般中,内核3.10是绝对的最低内核版本,支持Docker运行稳定所需的功能(较新版本是首选)。

Correct; in general, kernel 3.10 is the absolute minimum kernel version that supports the features that Docker requires to run stable (newer versions are preferred though).

但是,一些Linux发行版的后端口功能可以使用较老的内核,因此它们仍然能够运行Docker。例如,Red Hat Enterprise Linux 6.5是能够运行Docker内核2.6 (它仍然是一个12岁的内核,但....)

However, some Linux distro's back-port features to older kernels so that they are still able to run Docker. Red Hat Enterprise Linux 6.5, for example, is able to run Docker on a kernel 2.6 (it's still a 12 year old kernel, though....)

总结;


  • 始终运行您发行版提供的最新内核版本

  • 使用自定义内核替换您的发行版提供的内核可能可以正常工作,但不是正式支持。

  • 有些(云)提供者用定制版本替换内核;这是一些问题的原因。

  • 如果您正在构建自己的内核,请使用最新版本(docker 利用最近的某些功能版本)

  • Always run the most up-to-date kernel version provided by your distribution
  • Replacing the kernel that's provided by your distribution with a custom kernel might work, but is not officially supported.
  • Some (cloud) providers replace the kernel with a customised version; this has been the cause of some issues.
  • If you're building your own kernel, use a recent version (docker does take advantage of some features in recent versions)

还有一个shell脚本来检查系统是否具有必要的依赖关系,并检查哪些功能可用;

There's also a shell-script to check if your system has the required dependencies in place and to check which features are available;

https://github.com/docker/docker/blob/master/contrib/check-config.sh

更新

从Docker 1.8.0开始,Red Hat Enterprise Linux 6和CentOS 6(和Kernel 2.6)不再支持运行Docker的平台,没有新的软件包发布了这些发行版。在这些平台上运行Docker非常不鼓励,因为RHEL 6 / CentOS 6发布的最新版本是Docker 1.7.1。建议将您的系统升级到RHEL 7 / CentOS 7,这是受到积极支持的。

Starting with Docker 1.8.0, Red Hat Enterprise Linux 6, and CentOS 6 (and Kernel 2.6) are no longer supported platforms for running Docker, and no new packages are released for those distributions. Running Docker on those platforms is highly discouraged, as the latest version released for RHEL 6 / CentOS 6 is Docker 1.7.1. It's recommended to upgrade your system to RHEL 7 / CentOS 7, which is actively supported.

这篇关于Docker最低内核版本3.8.13或3.10的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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