Re:Things I Wish I'd Known Before Using Vagrant
by cosarara97 on Friday October 27, 2017 @10:24AM
(#15568582)
Vagrant gives you a full VM with a traditional init system. Docker is usually used without an init (or a very dumb init), so you'll have different containers for each service. It's a very different way of working, and I'd argue vagrant's is simpler and easier to understand, but less scalable.
[ Parent
| on HN ]
Re:Things I Wish I'd Known Before Using Vagrant
by bauerd on Friday October 27, 2017 @10:26AM
(#15568609)
Yeah I understand the difference between the two but I was wondering why people prefer Vagrant over Docker for development environments.
Re:Things I Wish I'd Known Before Using Vagrant
by dasil003 on Friday October 27, 2017 @12:26PM
(#15569872)
If I'm deploying to VMs then I prefer Vagrant, if I'm deploying containers then I prefer Docker. It's all about dev/prod parity, at least at the 30,000' view, once you get into specific use cases there may be reason to mix and match.
Re:Things I Wish I'd Known Before Using Vagrant
by mitchty on Friday October 27, 2017 @10:32AM
(#15568689)
For me, because docker doesn't do jack to help with developing in the kernel.
Re:Things I Wish I'd Known Before Using Vagrant
by dominotw on Friday October 27, 2017 @11:07AM
(#15569101)
I think this is one of the edge cases where vagrant is useful over docker. Most ppl here don't do kernel dev though.