harbur / captain

Captain - Convert your Git workflow to Docker :whale: containers
MIT License
767 stars 51 forks source link

Support boot2docker/mac. #16

Closed ejholmes closed 9 years ago

ejholmes commented 9 years ago

Hey! This project looks really awesome. Unfortunately, it didn't work on mac out of the box with boot2docker, since it serves the docker daemon over tcp/tls instead of a unix socket. This adds support by defaulting to a docker client configured via the standard DOCKER_* environment variables, and falling back to the unix socket.

dkapanidis commented 9 years ago

lgtm! :+1:

btw, I don't have a way to release binaries for mac, is there some easy way to do cross-compile?

ejholmes commented 9 years ago

I've had pretty good luck with https://github.com/laher/goxc. You could also vendor the deps with godep save -r ./... to make it go get'able.