News for hackers. Stuff that matters.
Re:Announcing Docker Machine Beta by nchammas on Thursday February 26, 2015 @11:39AM (#9113407)
> It looks interesting but seems like a very Docker-centric Packer

I think you mean a Docker-centric Vagrant, no? Packer is for building images, Vagrant is for launching environments.

You can use Packer to build Docker images akin to `docker build`, except Packer will let you use a variety of provisioners to build your Docker image like Chef, Ansible, or just simple Bash scripts. It's `docker build` without the Dockerfiles. [1]

Docker Machine seems geared towards launching a resource that is ready to run Docker, whether it be a VM running locally or a remote instance in some cloud. It's a single-purpose Vagrant, to really stretch the analogy. :)

Once you have a resource that runs Docker, I think that's where Docker Compose [2] steps in. Docker Compose is more like the full Vagrant in that it spins up a full, functioning environment with running services and whatnot.

[1] https://www.packer.io/docs/builders/docker.html (See the last section, titled "Dockerfiles".)

[2] http://docs.docker.com/compose/

There are no comments on this comment yet.