Hacker News new | ask | show | jobs
by logicrime 3980 days ago
Holy crap! I've been keeping up with the hype, yet having never used Docker and never needed it yet I can't help but become more skeptical now that I know that it's features aren't more complex than a little bit of bash.

People give bash a hard time, but things like this really give me that warm, fuzzy feeling.

esac4lyfe

3 comments

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?

I think you and logicrime are saying the same thing.
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.
bash is quite a neat language (for what it does) but has horrendous syntax.