News for hackers. Stuff that matters.
Re:Docker interactive tutorial by zhemao on Friday August 16, 2013 @02:26PM (#6225831)
Haha, I had a good laugh upon hearing that Docker cannot run inside of itself. Is this an LXC limitation? Clearly the solution was to run Docker inside of KVM inside of Docker.

But seriously, nice job. I haven't used docker yet because I want to play around with the standard lxc utilities first. But this is pretty awesome.

Re:Docker interactive tutorial by aegiso on Friday August 16, 2013 @02:39PM (#6225908)
It's not an LXC limitation, but seeing as this case hasn't gotten the love it involves jimmying things all over the place.

https://github.com/dotcloud/docker/wiki/Docker-in-Docker

Re:Docker interactive tutorial by dhrp on Friday August 16, 2013 @03:13PM (#6226152)
Thank you for posting this answer. Indeed, I think the short answer is: It is not impossible, but there are limitations.
Re:Docker interactive tutorial by jpetazzo on Friday August 16, 2013 @03:02PM (#6226075)
Actually, I've ran Docker within QEMU within Docker (using v9fs so that QEMU could use the container's FS as root FS). Works, but painfully slow and not very resource-efficient :-)
Re:Docker interactive tutorial by shykes on Friday August 16, 2013 @05:47PM (#6226909)
I will add that Docker is getting an architecture upgrade, and in the future will support nesting :)
Re:Docker interactive tutorial by zhemao on Friday August 16, 2013 @06:31PM (#6227101)
Yeah, I was kidding about Docker in KVM in Docker. I know it would be a lot of overhead.
Re:Docker interactive tutorial by ams6110 on Friday August 16, 2013 @07:40PM (#6227489)
Would there be a useful reason to actually do this (run Docker in Docker), or is it more just a novelty?
Re:Docker interactive tutorial by shykes on Friday August 16, 2013 @08:07PM (#6227566)
If anything, it's needed for the development of docker itself. We already build docker with docker (https://github.com/dotcloud/docker/blob/master/Dockerfile), but we can't yet test docker with docker because of the nesting problem.
Re:Docker interactive tutorial by wmf on Friday August 16, 2013 @09:40PM (#6227862)
I'd like to give each tenant a container and let them run Docker app containers within that.