News for hackers. Stuff that matters.
Re:Why is Docker the new craze in virtualization and cloud c... by Kiro on Wednesday July 09, 2014 @01:18PM (#8010860)
They keep saying Vagrant and Docker are two different things but isn't that the whole point with Vagrant?
Re:Why is Docker the new craze in virtualization and cloud c... by quaunaut on Wednesday July 09, 2014 @03:03PM (#8011581)
Yes! But using Docker can help several problems:

First time provisioning of a box can take up to 30 minutes even with a non-mature app. Mature apps with many moving parts can easily get near an hour- using Docker, you can bring that down to 5 minutes or less, with the majority of that being downloading the containers.

Neat thing though, is that you can use Docker WITH Vagrant to do this. The setup I'm doing on my side projects, essentially goes like this:

If I'm developing, I use Vagrant to spin up Docker containers(using Docker as the provisioner) for supporting items- databases, memcached, things like elasticsearch or a message queue- then develop from my machine(a mac). If I want to get someone else in on the project, I don't have to care one iota about what they're on, Docker will make it work.

On top of that, there's the capability to have your app itself running in Docker containers for development. This means no having to worry about dependencies, environment variables, etc- and if you keep things up to date, you can even just upload your app to a private Docker repo, and use that to deploy to your server(though in a team this may not be the most realistic option at the moment, I've not given it a shot, though I don't see why it wouldn't work).

For me, Vagrant is the tool I use to tie everything together for development. Docker is what I have it run off of, instead of Chef/Puppet/Salt/Ansible, so that my build times go from 30 minutes to whatever download speed I get.

Re:Why is Docker the new craze in virtualization and cloud c... by NDizzle on Wednesday July 09, 2014 @01:32PM (#8010963)
Your username is the same as my (jindo) dog! So I'll reply to you.

I've been using vagrant to fix exactly the problem of "works on my box" for years. Docker is way too much to explain to my small development team. They struggled to deal with vagrant for some time before figuring it out.

Vagrant is perfect for us right now, and it would take a force of nature for me to even begin to push docker on them.

Re:Why is Docker the new craze in virtualization and cloud c... by s_baby on Wednesday July 09, 2014 @01:45PM (#8011091)
I believe there are plans for offering a Vagrant api to Docker and vice-versa.
Re:Why is Docker the new craze in virtualization and cloud c... by revcbh on Wednesday July 09, 2014 @02:32PM (#8011423)
In many cases, Docker can be treated like a more lightweight Vagrant. One important benefit I get is more efficient use of machine resources. Running 5-10 fully virtualized Vagrant instances on my laptop hurts. Running the same number of Docker containers is trivial.

The ability to version your images and easily build on them is nice too.