Re:Show HN: Bocker – Docker implemented in 100 lines of bash
by welly on Tuesday July 21, 2015 @08:48PM
(#9926991)
Why would it need to be more complex than "a little bit of bash" if it fulfils the task intended?
Surely that is better than a convoluted, 1,000,000,000 LoC application that no one outside a handful of core developers understands? Right?
Re:Show HN: Bocker – Docker implemented in 100 lines of bash
by antsar on Tuesday July 21, 2015 @09:06PM
(#9927076)
I think you and logicrime are saying the same thing.
Re:Show HN: Bocker – Docker implemented in 100 lines of bash
by zobzu on Tuesday July 21, 2015 @10:37PM
(#9927421)
to be honest most of the work is done by iproute and unshare in this case.
unshare basically calls clone() (syscall) with the correct namespace related paramters, iproute deals with veth.
People give bash a hard time, but things like this really give me that warm, fuzzy feeling.
esac4lyfe