3 ms·
What's the alternative to docker? And by that, I mean a solution that a team can reasonably use across Linux, Windows, and Mac. The simple reality is that, ther
by jillesvangurp 6y ago
What's the alternative to docker? And by that, I mean a solution that a team can reasonably use across Linux, Windows, and Mac. The simple reality is that, there is Docker and absolutely nothing else that comes close to working everywhere. Yes, it's not perfect but everything else is far less perfect. Static binaries are far too limited; most software requires lots of files spread all around the file system.
I did a project last year at a company that had dockerized their build, CI, and CD infrastructure. They had dozens of git projects with make files that triggered actions using docker. It was great. No need to install anything complicated; just works everywhere with just a minimum of scripts installed from a single internal repository. They did some nice hacks to work around some of the things mentioned in the article. Including using virtual box on macs to work around the filesystem limitations. This really becomes a show stopper for large complicated builds that are very io intensive.
- hendry 6y agossh to an Archlinux or *BSD box?
- u801e 6y ago> What's the alternative to docker? And by that, I mean a solution that a team can reasonably use across Linux, Windows, and Mac. Virtual Machines. VirtualBox in combination with vagrant works reasonably well cross-platform.
- jillesvangurp 6y agoDoesn't solve the same problem. You can use that to run docker of course.
- boublepop 6y agoCare to elaborate on your point? How is that not the same problem?
- u801e 6y agoWhat problem does Docker solve that using a VM cannot solve?
- jillesvangurp 6y agoThe infrastructure for creating and sharing e.g. virtual box images does not exist. With docker I can run just about any server product you can name with a single command line invocation. Those commands don't exist for vmware, virtual box or other common virtual machine. That infrastructure simply does not exist.
- u801e 6y ago> The infrastructure for creating and sharing e.g. virtual box images does not exist. vagrant [1] provides this feature based on my understanding. [1] https://www.vagrantup.com/docs/cli/cloud https://www.vagrantup.com/docs/cli/cloud
- AnIdiotOnTheNet 6y ago> Static binaries are far too limited; most software requires lots of files spread all around the file system. In my experience that is entirely and ludicrously false. That is merely how a lot of unix software does things by convention, but there are a lot of ways to make even poorly-thought-out unix software behave as a self-contained entity.
- jillesvangurp 6y agoWell, yes that's exactly what docker does. In contrast, most linux package managers seem to make a big deal about doing all of this slightly different on just about every linux distribution and even between different versions of the same distributions. The fact package managers exist proves my point: deciding which files go where is a big deal and there seem to be an awful lot of opinionated package managers making different choices here. Whatever standards and conventions exist here seem to leave an awful lot of choice and wiggle room.
- AnIdiotOnTheNet 6y ago> The fact package managers exist proves my point: deciding which files go where is a big deal and there seem to be an awful lot of opinionated package managers making different choices here. Consider that "package managers" only really existed in the UNIX world until relatively recently. Other OSs just didn't make everything so complicated to begin with. "which files go where" just isn't really a problem if you don't make dependencies some third party's problem.