progrium / envy

Lightweight dev environments with a twist
MIT License
321 stars 21 forks source link

suggest mounting docker binary #17

Open progrium opened 9 years ago

progrium commented 9 years ago

Envy releases will be tested against a version of Docker that will be included in the envy image, however, the readme should suggest mounting your Linux host docker binary to ensure parity with host docker.

$ docker run -d ... -v $(which docker):/bin/docker ... progrium/envy

Unfortunately the above will break on OS X hosts running boot2docker. You cannot use the darwin binary inside envy, but more importantly host mounts are relative to the VM and not OS X. So perhaps it would be:

$ docker run -d ... -v /usr/local/bin/docker:/bin/docker ... progrium/envy

Perhaps its more trouble than it's worth?