关于可以用来创建docker base-image的linux发行版的时代有什么限制吗?

问题描述 投票:0回答:1

我想知道是否有可能使用像Debian GNU / Linux 3.1(Sarge)这样的非常老的Linux发行版,并创建它的基本图像来运行不在“年轻”发行版下工作的遗留代码。

只有我发现它是有人成功使用Ubuntu Feisty:Run old Linux release in a Docker container?

有任何已知的限制吗?

linux docker dockerfile
1个回答
0
投票

您的主机需要具有最小版本的Linux内核,该版本为3.10

看到

Docker minimum kernel version 3.8.13 or 3.10

从前一个链接中提取

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。

https://wiki.debian.org/DebianSarge?action=show&redirect=Sarge

我知道了

kernel : linux 2.4.27 and 2.6.8

所以它可能不起作用

© www.soinside.com 2019 - 2024. All rights reserved.