howtowhale / dvm

Docker Version Manager
https://howtowhale.github.io/dvm/
Apache License 2.0
522 stars 50 forks source link

Option to pick a local mirror for Docker binaries #109

Closed andrefernandes closed 8 years ago

andrefernandes commented 8 years ago

Those among us doomed to deal with corporate proxies might be able to download binaries to a local mirror or use something like Artifactory.

Suggestion: "dvm" would accept a MIRROR_URL environment variable that points to another place where the Docker binaries were previously downloaded.

rgbkrk commented 8 years ago

I'd like to see this environment variable prefixed with DVM_

rgbkrk commented 8 years ago

Thanks for the PR!

carolynvs commented 8 years ago

Thank you for implementing this change! I just publish dvm 0.5.0, run dvm upgrade to get it. Afterwards you can use DVM_MIRROR_URL or dvm install --mirror-url http://mymirror/builds to specify an alternate download location.