mitchellh / boot2docker-vagrant-box

Packer scripts to build a Vagrant-compatible boot2docker box.
424 stars 183 forks source link

Can boot2docker actually be used with this box? #42

Closed wizonesolutions closed 10 years ago

wizonesolutions commented 10 years ago

Or is that just a script one uses if dealing with VirtualBox, and when using this one should just set DOCKER_HOST?

Should one set DOCKER_HOST in one's ~/.profile (or equivalent) if it should persist? Is there a smarter/automatic way to manage the environment variable?

mitchellh commented 10 years ago

I'm not sure what this is asking. This box is boot2docker. And yes, you set DOCKER_HOST to point at it.

wizonesolutions commented 10 years ago

I meant boot2docker the script, since the site gives some examples using that. But I guess that's just a wrapper for VM management. In this case, Vagrant does that job, one sets DOCKER_HOST, and then just uses Docker. Got it.