Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Containers from Scratch (ericchiang.github.io)
5 points by ingve on Jan 8, 2017 | hide | past | favorite | 4 comments


> give an intro to containers without Docker or rkt.

https://linuxcontainers.org/

Problem solved.

Seriously, while its interesting to see how a DIY container ecosystem could be achieved, an "intro" should be focusing on how to use something, not now to make your own half baked replacement for that something.


More intended as a fun intro to the basics than an opinion about container runtimes. I think understanding the common, underlying things provided by the kernel helps me work and evaluate higher level tools. E.g. when considering Docker vs LXC.

Like how a compiler class might have you write your own toy compiler for the sake of demonstration, I don't think anyone is advocating rolling your own runtime.

I'd love to see more articles about things like LXC. We where looking into using it at my last job but didn't have the bandwidth to do the proper exploration.


Actually, we already have too many "how to build trivial thing with Docker" articles and too little ones about "how to build half-baked replacement for Docker using basic mechanisms".


The article specifically says the talk was "Intro to containers".

You wouldn't give an "intro to DNS" by describing how the attendees can build their own DNS server and resolver, using nothing but Bash and Perl, or "intro to Java" by showing how to create your own JVM.

I'm all in favour of anything that makes people aware that Docker didn't invent containers, and isn't the second coming of Jesus in the form of shitty code.

A practical look at how a basic LXC/LXD container operates, would be a better intro to containers. If you want to show people how to do it using basic shell tools, thats probably a follow on.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: