Skip to content

Conversation

@remuslazar
Copy link

Use a separate shellscript for doing the same job but for boot2docker
environments (currently only tested on MacOS..).

See the updated README for more usage details.

Use a separate shellscript for doing the same job but for boot2docker
environments (currently only tested on MacOS..).

See the updated README for more usage details.
@dsanders11
Copy link

I'm not sure this is necessary. If you want to use this with boot2docker you can use the Docker image, you just need to pass along the necessary environment variables and files:

$ docker run -e DOCKER_CERT_PATH=$DOCKER_CERT_PATH -e DOCKER_TLS_VERIFY=$DOCKER_TLS_VERIFY -e DOCKER_HOST=$DOCKER_HOST -v $DOCKER_CERT_PATH:$DOCKER_CERT_PATH -v /var/lib/docker:/var/lib/docker --rm martin/docker-cleanup-volumes

It's not very sexy, but it doesn't require a separate script. You can throw it into a wrapper script to make it easy to use. It will also work with any remote Docker daemon, not just boot2docker.

@dsanders11
Copy link

@remuslazar, I've created a fork of this project which provides a nicer wrapper script that encapsulates all of the above.

@chadoe
Copy link
Owner

chadoe commented Jun 20, 2015

Hi, I agree a seperate script is not really necessary. I'm leaving this PR open for reference only for now.

@dsanders11, interesting changes you did there, I may have to borrow some of your code once I find the time to install boot2docker on.. something.. to play around with it (which is way way down at the bottom on my todo list).

@dsanders11
Copy link

@chadoe, definitely borrow anything you like! I know how you feel about infinite todo lists. I'm actually not even using boot2docker, but rather a CentOS virtual machine I was using before I started Dockerizing. The nice thing about the Docker client is it is easy to point anywhere through the use of DOCKER_HOST so I have the daemon running on the VM and my OS X client pointing to it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants