Skip to content

Instantly share code, notes, and snippets.

@fonylew
Created April 18, 2020 17:36
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 fonylew/d43df438d8b8f2296bc18613c47c4bd6 to your computer and use it in GitHub Desktop.
Save fonylew/d43df438d8b8f2296bc18613c47c4bd6 to your computer and use it in GitHub Desktop.
RStudio Docker run command
docker run -d --name rstudio -p [TARGET_PORT]:8787 -v $(pwd):/home/[USER]/[MOUNT_DIR] --restart=always -e ROOT=TRUE -e USER=[USER] -e PASSWORD=[PASSWORD] rocker/rstudio
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment