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

619 Views Asked by At

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

2

There are 2 best solutions below

0
On

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
0
On

yes, as you can launch a docker container based on Fedora/Centos/ArchLinux... on your Ubuntu 12.04