Live data from Hacker News

Show HN: Bocker – Docker implemented in 100 lines of bash

github.com

1–10 of 89 posts

Re: Show HN: Bocker – Docker implemented in 100 lines of bash

#3
Using btrfs subvolumes as the image format, that's a nice touch. On the same road as the hypothetical systemd packaging system (not that I'm very enthusiastic about that).

The network, PID and mount namespaces are the ones unshared, plus a private /proc.

I like tools like this because they're reality checks on how the basics of Linux containers are just a few essential system calls, and particularly that they're limited.

Re: Show HN: Bocker – Docker implemented in 100 lines of bash

#7

not sure if you ever saw this - https://www.phoronix.com/scan.php?page=news_item&px=CoreOS-B... it might be interesting to see a version of your script using overlayfs

Interesting, it was my understanding that Docker was going in the other direction. Moving off AuFS towards Btrfs due to issues getting AuFS patches into the mainline kernel.

I'll have to look info CoreOS's reasons for going with Ext4.

Re: Show HN: Bocker – Docker implemented in 100 lines of bash

#9

Using btrfs subvolumes as the image format, that's a nice touch. On the same road as the hypothetical systemd packaging system (not that I'm very enthusiastic about that). The network, PID and mount namespaces are the ones unshared, plus a private /proc. I like tools like this because they're reality checks on how the basics of Linux containers are just a few essential system calls, and particularly that they're limi…

also that they dont use a root daemon and random hard to debug, hard to verify things.

it feels like most of them build large products around things to justify making money, while i like the simple, elegant, easy to verify little pieces of software (some call it "the unix way")

unshare and iproute are pretty decent for ex.

Post reply on HN