3 ms·
I used the wrong wording: I should have said that Docker encourages one process per container, not that it requires it. It's possible to do most of the same thi
by RussianCow 9y ago
I used the wrong wording: I should have said that Docker encourages one process per container, not that it requires it. It's possible to do most of the same things with Docker as you can do with a VM, including implementing a full-blown init system, it's just a matter of effort.
Having said that, what you did is definitely non-trivial (at least it would be for me), and you've basically re-implemented all of the stuff Vagrant gives you for free, for a pretty marginal benefit (IMO). Maybe that setup works better for you, but I don't understand why I should go through all that effort when Vagrant Just Works™ most of the time, and Docker for Mac runs everything through a VM anyway.
- mschuster91 9y ago> but I don't understand why I should go through all that effort when Vagrant Just Works™ most of the time Problem with Vagrant is you can't take the VM you created and deploy it on any random Linux server (or random Docker-hosting cloud provider) - while a pure Docker solution can be deployed literally anywhere with Docker support, as long as you give it a way to persist the data directories of the services. docker-compose is a hit-and-miss across hosters, and you can't use it on DC/OS or Kubernetes environments. I use my script collection mainly for dev environments, but it's useful when you want to spin up QA/dev instances without having to provision real servers.