Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for .docker-version file? #88

Open
mtougeron opened this issue Feb 24, 2016 · 4 comments
Open

Support for .docker-version file? #88

mtougeron opened this issue Feb 24, 2016 · 4 comments

Comments

@mtougeron
Copy link

It would be really nice if this tool supported something like a .docker-version file much like pyenv or rbenv do.

@rgbkrk
Copy link
Member

rgbkrk commented Feb 24, 2016

We support a DOCKER_VERSION environment variable that a plain "dvm use" will pick up. Does that work for the same intent?

@mtougeron
Copy link
Author

I've been using that but what I like about the .docker-version file concept is that it automatically changes the version I'm using based on what directory I'm in.

@rgbkrk
Copy link
Member

rgbkrk commented Feb 26, 2016

Do you still have to run dvm use in the directory?

@carolynvs
Copy link
Collaborator

You would still have to call dvm use unless we also added a shim for the docker binary. Here's how pyenv and rbenv does it, https://github.com/yyuu/pyenv#understanding-shims.

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

No branches or pull requests

3 participants