This tool is a simple wrapper around docker run
which will mount the current directory. It's useful when you have that python/node/ruby/whatever script that depends on locally installed stuff. Forget pyenv and rbenv. Just get inside a docker container with drun
.
If you use brew, do: brew tap jpbochi/tap && brew install drun
If not, try: curl -fsSL https://raw.github.com/jpbochi/drun/master/install.sh | bash
If you want to install an specific version, try: curl -fsSL https://raw.github.com/jpbochi/drun/master/install.sh | bash -s -- -v 1.2.1
You can also install it somewhere else with: curl -fsSL https://raw.github.com/jpbochi/drun/master/install.sh | bash -s -- -d ./temp
alias dr-node='drun -N -P'
alias dr-compose='drun -e HOME="$HOME" -I docker/compose:1.9.0'
alias dr-py='drun -I python:2.7'