Skip to content

Instantly share code, notes, and snippets.

@ellisvalentiner
Created October 17, 2016 13:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ellisvalentiner/38e983eb9df67c644016618be83065fb to your computer and use it in GitHub Desktop.
Save ellisvalentiner/38e983eb9df67c644016618be83065fb to your computer and use it in GitHub Desktop.
export PROJECT_PATH=/path/to/project
docker-machine create --driver virtualbox default
docker-machine start
eval $(docker-machine env)
docker run -it --volume=$PROJECT_PATH --memory=4g --memory-swap=4g --entrypoint=/bin/bash rocker/r-base
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment