Live data from Hacker News

Docker interactive tutorial

blog.docker.io

1–10 of 48 posts

Re: Docker interactive tutorial

#3
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

#4
post #3

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.

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

#6
post #3

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.

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

#7
post #4
post #3

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.

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

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

#9
post #8

I never understood what docker is or who is supposed to use it. Can somebody enlighten me?

It depends. Do you mind me asking, what is your background/profession? And have you deployed a virtual machine before to run an application?

Re: Docker interactive tutorial

#10
post #8

I never understood what docker is or who is supposed to use it. Can somebody enlighten me?

Docker is a way to bundle an application inside a filesystem and then run the application inside of an LXC container.

Containers are an isolation mechanism. They aren't virtual machines. More of a distant cousin to chroot or a jail.

The target audiences are developers and operations. It's a packaging/deployment tool.

Post reply on HN