Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject: Kernels with AUFS
PostPosted: Mon Nov 11, 2013 4:00 pm 
Offline
Senior Member

Joined: Fri Jul 03, 2009 2:31 am
Posts: 54
ICQ: 897607
Docker seems to be gaining a lot of momentum and it certainly has a lot of utility for me.

If you want to run Docker on your Linode the first problem to fix is adding AUFS support to the kernel. This can be done using pv-grub and custom kernel (instructions) but as more and more people start using Docker I think it makes sense for Linode to add an AUFS enabled kernel (or at least AUFS as a module).

Unfortunately the second problem to fix is a lot tougher and I don't have any solutions. The tools in aufs-utils need to be installed and, other than Gentoo and Arch, they aren't available in Linode supported distro packages.

Anyway, a certain large competitor to Linode is pushing their support for Docker via OpenStack and it includes a nice repository of docker images.

Is this something we could see from Linode in the future?


Top
   
 Post subject: Re: Kernels with AUFS
PostPosted: Mon Nov 11, 2013 4:30 pm 
Offline
Senior Member

Joined: Sun Mar 07, 2010 7:47 pm
Posts: 1970
Website: http://www.rwky.net
Location: Earth
Quote:
Unfortunately the second problem to fix is a lot tougher and I don't have any solutions. The tools in aufs-utils need to be installed and, other than Gentoo and Arch, they aren't available in Linode supported distro packages


Docker works fine in Ubuntu 12.04 I'm using it. As for the kernel it's pretty easy to boot from pv grub. Linode tend to keep the kernel as slim as possible.

_________________
Paid support
How to ask for help
1. Give details of your problem
2. Post any errors
3. Post relevant logs.
4. Don't hide details i.e. your domain, it just makes things harder
5. Be polite or you'll be eaten by a grue


Top
   
 Post subject: Re: Kernels with AUFS
PostPosted: Mon Nov 11, 2013 6:08 pm 
Offline
Senior Member

Joined: Fri Jul 03, 2009 2:31 am
Posts: 54
ICQ: 897607
obs wrote:
Docker works fine in Ubuntu 12.04 I'm using it.


Thanks for this... just looking at AUFS documentation and at the weird aufs-tools source build I didn't even look in the debian/ubuntu repo. Is it in redhat/suse distro's also?

obs wrote:
As for the kernel it's pretty easy to boot from pv grub.


It's easy for you and me, but not everyone which is why I left the "easy" modifier off my statement that we can get AUFS using pv-grub. One could also say it's easy to boot from pv-grub to get XFS support, but thankfully I don't need to because it's in the Linode kernels.

obs wrote:
Linode tend to keep the kernel as slim as possible.


How is this an argument against? My point was that Docker is gaining momentum and thus AUFS will become more useful than many other features that are included in the Linode kernels. On top of that it can be built as a module so it doesn't make the kernel any fatter. It can also be just another selection so if it isn't needed you just pick a kernel that doesn't have AUFS.


Top
   
 Post subject: Re: Kernels with AUFS
PostPosted: Mon Nov 11, 2013 7:39 pm 
Offline
Senior Member

Joined: Sun May 23, 2010 1:57 pm
Posts: 315
Website: http://www.jebblue.net
From http://www.docker.io/learn_more/

"Please note Docker is currently under heavy developement. It should not be used in production (yet)."


Top
   
 Post subject: Re: Kernels with AUFS
PostPosted: Tue Nov 12, 2013 4:57 am 
Offline
Senior Member

Joined: Sun Mar 07, 2010 7:47 pm
Posts: 1970
Website: http://www.rwky.net
Location: Earth
Ox- wrote:
Thanks for this... just looking at AUFS documentation and at the weird aufs-tools source build I didn't even look in the debian/ubuntu repo. Is it in redhat/suse distro's also?


Not a clue I've only tried Ubuntu 12.04 since that's what docker recommend and we're just using it for testing builds (it's really useful being able to spawn up a fresh app server with a clean database in a few seconds)

Ox- wrote:
How is this an argument against?


I didn't say it was, I just said they like to keep things slim, it's rare you'll see a new module added.

_________________
Paid support
How to ask for help
1. Give details of your problem
2. Post any errors
3. Post relevant logs.
4. Don't hide details i.e. your domain, it just makes things harder
5. Be polite or you'll be eaten by a grue


Top
   
 Post subject: Re: Kernels with AUFS
PostPosted: Tue Nov 12, 2013 5:03 am 
Offline
Senior Member
User avatar

Joined: Sat Apr 07, 2012 3:40 am
Posts: 56
Website: http://for-no-reason.net
Location: Australia
I highly doubt linode would be willing to apply non-mainlined patches to their kernel, since it obviously modifies some fairly core code within the kernel. This completely rules out being able to compile it as a module (as already discussed on the docker page).


Top
   
 Post subject: Re: Kernels with AUFS
PostPosted: Tue Nov 12, 2013 5:03 am 
Offline
Senior Member

Joined: Mon Jul 05, 2010 5:13 pm
Posts: 392
The big issue is that this isn't a matter of just enabling some kernel options: AUFS is not part of mainline Linux, and it doesn't appear that it will be included in the future. Debian and Ubuntu distribution kernels are patched to include AUFS, but from what I've seen no other distros do this.

As for the userspace tools, does Ubuntu not include them automatically when you follow Docker's installation steps? ( http://docs.docker.io/en/latest/install ... untulinux/ ) We can't do anything about distributions not offering aufs tools packages.

- Les


Top
   
 Post subject: Re: Kernels with AUFS
PostPosted: Tue Nov 12, 2013 6:55 am 
Offline
Junior Member

Joined: Fri May 29, 2009 8:40 am
Posts: 37
The next version of Docker is going to remove the requirement of AUFS, and will depend on device-mapper for snapshots instead.

So wait for 0.7, and hopefully it'll be easier to support on a wider variety of distros.


Top
   
 Post subject: Re: Kernels with AUFS
PostPosted: Tue Nov 26, 2013 12:03 pm 
Offline
Senior Member

Joined: Tue Apr 27, 2004 5:10 pm
Posts: 212
Docker 0.7 is out, and indeed they did remove the AUFS requirement.

http://blog.docker.io/2013/11/docker-0- ... tribution/

_________________
Image


Top
   
 Post subject: Re: Kernels with AUFS
PostPosted: Tue Nov 26, 2013 1:01 pm 
Offline
Junior Member
User avatar

Joined: Fri May 04, 2012 8:57 pm
Posts: 49
ヽ༼ຈل͜ຈ༽ノ raise your docker ヽ༼ຈل͜ຈ༽ノ

_________________
me | voltaireMC


Top
   
 Post subject: Re: Kernels with AUFS
PostPosted: Tue Nov 26, 2013 1:31 pm 
Offline
Senior Member

Joined: Wed Jun 16, 2010 8:22 pm
Posts: 61
Website: http://www.kevinmccaughey.org
[EDIT]

Looks liek 0.7 Fails too, but for different reasons than the file system:

"lxc-start: failed to create vethSKGOQ0-veth2UJDQE : Operation not supported
2013/11/26 17:39:11 Error: start: Cannot start container 04aa8ba41c1ad6711d0043aeceff6481e5c7dc586c776eb09284cfde3d54f32c: exit status 1"

Anyone else got this to work yet?


Top
   
 Post subject: Re: Kernels with AUFS
PostPosted: Tue Nov 26, 2013 5:35 pm 
Offline
Senior Member

Joined: Fri Jul 03, 2009 2:31 am
Posts: 54
ICQ: 897607
This is great news!


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group