What's old is new. You're describing containers I think.
Docker without Docker
11–20 of 101 posts
Re: Docker without Docker
#12Author here - I'm working on a blog post for this and didn't expect this to be posted on HN so soon, but I guess that's what I should expect for posting a link to it in another HN comment! :) These slides correspond to a workshop I conducted a week ago demonstrating the internals of Docker and how Docker containers can be run without using any of the Docker tools or runtime. Docker is a great tool, and I'm glad it's…
I'm sorry if I jumped the gun before the blogpost was ready. :) Hopefully, the discussion will help even more!
Re: Docker without Docker
#13It uses the docker equivalent of "net=host" (which provides better performance at the cost of isolation), and the disk is pointing at a shared "changeroot" on disk, instead of at a layered FS.
Both of these can be better isolated with natted interfaces and a `btrfs` (which has its own reliability issues) layered image, but they are not what you expect by default.
Re: Docker without Docker
#14Author here - I'm working on a blog post for this and didn't expect this to be posted on HN so soon, but I guess that's what I should expect for posting a link to it in another HN comment! :) These slides correspond to a workshop I conducted a week ago demonstrating the internals of Docker and how Docker containers can be run without using any of the Docker tools or runtime. Docker is a great tool, and I'm glad it's…
Thank you so much for the slides - even though I've been following the Docker/Rkt/LXC developments ever since Docker came out (albeit passively), this is the best resource I've come across that explains what happens internally in an easy to grok manner. The fact that you can do nearly everything in systemd is indeed a bonus. I'm sorry if I jumped the gun before the blogpost was ready. :) Hopefully, the discussion wil…
Thanks! I really appreciate that.
> I'm sorry if I jumped the gun before the blogpost was ready. :)
Nah, it's cool - if anything it creates even more social pressure not to procrastinate writing it!
Re: Docker without Docker
#15tl;dr It's basically a tech demo for systemd, and the systemd-nspawn tool in particular (which you might recall recently gained Docker format support).
Re: Docker without Docker
#16What is the actual difference here between using debootstrap and LXC?
Re: Docker without Docker
#17There's a few things it doesn't do (neither docker, or lxc for that matter) - yet at least - such as mounting fses before container start or manage upgrades.
Re: Docker without Docker
#18Author here - I'm working on a blog post for this and didn't expect this to be posted on HN so soon, but I guess that's what I should expect for posting a link to it in another HN comment! :) These slides correspond to a workshop I conducted a week ago demonstrating the internals of Docker and how Docker containers can be run without using any of the Docker tools or runtime. Docker is a great tool, and I'm glad it's…
Re: Docker without Docker
#19Re: Docker without Docker
#20What is the actual difference here between using debootstrap and LXC?
One major difference between systemd-nspawn and LXC is how simple and reliable systemd-nspawn - in particular the guest OS/image has to run systemd as well which is what provides the integration.
Eventually, if you wanted, you could mix and match the tools just fine.