Yes, docker is using aufs if it's available, but they say some other fallback backends were integrated in it recently, to support non-aufs capable kernels, see http://blog.docker.io/2013/11/docker-0-7-docker-now-runs-on-any-linux-distribution/ .
The problem is, it seems there's no way to just create a mount in docker, the containers are currently created only for one long-running process, and there's no public api to even get the underlying filesystem mount path. I may be wrong here, but I didn't find one. On Thu, Jan 2, 2014 at 12:56 PM, Łukasz Mierzwa <[email protected]> wrote: > This is something I'm also curious about, since I plan to use aufs at some > point in uPaaS. > Is docker using aufs (or something similar)? It should be possible to just > create aufs mount if needed with one of many hooks available in uWSGI > (probably --hook-pre-jail in this case). > > > 2014/1/2 Igor Katson <[email protected]> > >> Hi, >> >> there's a great tool called "docker", which allows one to easily create >> jailed linux containers based on images with copy-on-write filesystem. >> >> One of the best things in it, is that the container can be created in >> seconds from a base image, which you can create yourself. >> >> This is a lot faster and easier than using, e.g. debootstrap. >> >> The problem is, that I don't see a way to use this thing from inside >> uwsgi and the emperor. >> >> The preferred deployment would look something like emperor launching a >> docker container based on a predefined image for each vassal (if it does >> not exist yet). >> This would be very easy, fast and secure from the user point of view. >> >> uWSGI currently has the namespace support as a low-level of jailing the >> apps, but it would be extremely awesome if it can integrate somehow with >> the docker's copy-on-write image-based filesystem layer. >> >> What do you think of that, guys? >> >> Thanks! >> >> >> >> _______________________________________________ >> uWSGI mailing list >> [email protected] >> http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi >> >> > > > -- > Łukasz Mierzwa > > _______________________________________________ > uWSGI mailing list > [email protected] > http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi > >
_______________________________________________ uWSGI mailing list [email protected] http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
