job.answiz.com
  • 1
Votes
name

I have a Docker container built from Ubuntu 14.10. When I log in to the container to check the Ubuntu version and kernel version I see the following:

[email protected]~$>> lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 14.10
Release:    14.10
Codename:   utopic   

[email protected]~$>> uname -a
    Linux ambiata-aws 3.13.0-24-generic #47-Ubuntu SMP Fri May 2 23:30:00 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

I thought that Ubuntu 14.10 was supposed to be kernel version 3.16 (as stated), so why do I have kernel version 3.13.0-24-generic ?

The reason I am asking is because there is a patch in 3.13.0-29-generic that I would like to have (that is, having fallocate working on AUFS in my docker container) which is discussed

From What is Docker?:

LIGHTWEIGHT

Containers running on a single machine share the same operating system kernel; they start instantly and use less RAM. Images are constructed from layered filesystems and share common files, making disk usage and image downloads much more efficient.

Containers run on the host OS kernel. In your case, the host could be a Ubuntu 14.04 (running the original kernel) or a Ubuntu 12.04 (running kernel from trusty's hardware enablement stack).

If the host is Ubuntu 14.04 you could install kernel 3.16:

sudo apt-get install linux-generic-lts-utopic

Or kernel 3.19:

sudo apt-get install linux-generic-lts-vivid

For Ubuntu 12.04, kernel 3.13 is latest official one.

  • 0
Reply Report