On Sun, Aug 16, 2020 at 7:07 AM Neil Bothwick <n...@digimed.co.uk> wrote: > > On Sat, 15 Aug 2020 12:22:19 -0600, Grant Taylor wrote: > > > I dislike Docker, but I do like the idea of containers or network > > namespaces. > > Going OT here, but why do you dislike Docker? I've only recently started > using it, so if there are any major, or otherwise, drawbacks, I'd like to > know before I get too entwined in their ecosystem.
It has been a while since I've tried it, but networking with Docker is a PITA. Just having it use DHCP/DNS like any normal host isn't an option, and it seems like you have to stick some kind of reverse proxy in front of everything. I can see how it makes sense at scale. However, if you just need one instance of something, it is just way more complexity than you need. I personally use nspawn to run my containers, with a network namespace. They just have their own MACs, run DHCP, and generally work like any VM minus the memory use. But, perhaps I just need to drink more of the kool-aide and it will click some day. All I want is to be able to type a.b.com in my browser and have it display the service I just started up. With nspawn that is just a matter of a few lines in dhcpd.conf and my BIND config. -- Rich