Docker as an alternative to virtualenv

When I hear about a command line application that I might want to use, often times the first step in installing the application starts with pip install or gem install. This would install the application and all of its dependencies, but it would also possibly interfere with some other application and its own dependencies. Just use virtualenv or rbenv The solution to the above dependency clashes is usually “just use a virtualenv”. Which works, but only in a certain directory, and only if you remember to source ./bin/activate and so on. Maybe if I knew a bunch more about virtualenv and rbenv (or whatever folks use in the Ruby world, which I feel like changes from time to time), I’d know of a better solution to this problem. If you know of one, feel free to leave a comment. ...

March 24, 2018 · 4 min