如果我的主机是12.04,可以使用docker image ubuntu 14.04吗? [英] Can I use docker image ubuntu 14.04 if my host is 12.04?

查看:62
本文介绍了如果我的主机是12.04,可以使用docker image ubuntu 14.04吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

I have ubuntu 12.04 as main host, can I run dockerized ubuntu 14.04 on it ?

推荐答案

12.04随附的常规Linux内核不支持所需的AUFS文件系统。但是,以后的安装确实会安装内核v3.8及更高版本,因此您可以升级并运行Docker。

The stock Linux kernel that came with 12.04 didn't have support for the required AUFS file system. Later installs did however install the kernel v3.8 and later, so so you can upgrade and run Docker fine.

# 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

这篇关于如果我的主机是12.04,可以使用docker image ubuntu 14.04吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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