简体   繁体   English

如果我的主机是12.04,是否可以使用docker image ubuntu 14.04?

[英]Can I use docker image ubuntu 14.04 if my host is 12.04?

我将ubuntu 12.04作为主要主机,可以在其上运行dockerized的 ubuntu 14.04吗?

The stock Linux kernel that came with 12.04 didn't have support for the required AUFS file system. 12.04附带的常规Linux内核不支持所需的AUFS文件系统。 Later installs did however install the kernel v3.8 and later, so so you can upgrade and run Docker fine. 后来的安装确实安装了内核v3.8及更高版本,因此您可以升级并正常运行Docker。

# install a Docker compatible kernel on Ubuntu 12.04, if it is not already v3.8+
# "uname -r" will tell you the current version running
sudo apt-get install linux-image-generic-lts-raring linux-headers-generic-lts-raring
sudo shutdown -r now

是的,因为您可以在Ubuntu 12.04上启动基于Fedora / Centos / ArchLinux ...的Docker容器

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM