Vagrant vs Docker?

preview_player
Показать описание
In this clip from Tim Sabat's interview (CodePen's server master), I ask him to tell us the difference between Vagrant and Docker.

I've briefly used Docker in the past to experiment with other technologies like Chef for example, but never for anything serious. On the other hand, I've been using Vagrant almost daily for a while now.

When Tim told me he used to as well, but recently switched completely to Docker, I really wanted to know why. Why the switch? How hard was it? What did you learn in the process?

Рекомендации по теме
Комментарии
Автор

So far the most precise and clear explanation on differences between the both - different sections such as operational and networking were briefly covered!
Looking forward to more videos like these!

ryanvidz
Автор

Thanks for uploading this.
Got an easy explanation of vagrant and Lot's of changes have been introduced in docker ecosystem.

chirag
Автор

About Vagrant vs. Docker community, I am jealous of the image repository that is supported in Docker, where Vagrant doesn't really have this. With Vagrant its whatever scraps you can find off the Internet, and sometimes what's baked into the images can cause problems with your application. So, to get a clean test control scenario, you have to build your own boxes from scratch, with veewee, or packer.

joaquink
Автор

As you can create Vagrant box from your VM with Packer, so you can then distribute your box to whoever your box and these people will get exactly what you had, then I am not really sure what you guys are talking about around @3:00 about Docker being superior just because you can distribute its containers, while, as you say, with Vagrant you must go thru provisioning. That's definitely not true. You can do the same with Vagrant just by making box and distributing it.

Borszczuk
Автор

If you have an old laptop docker is the path. If you can support Virtual Machine i recommend vagrant, but is a matter of taste i think. Vagrant is really easy for me.

danieljosebecerrauzcategui
Автор

I never use both of them by the way...
But I'll start with vagrant by the way :D More simple I think...

ajiyakin