macOS

Author

Ivan Jacob Agaloos Pesigan

In this tutorial, we will go through the necessary steps to launch the dynr Docker container on macOS.

Installation Video Tutorial

Click here for a video tutorial of the installation process.

Installing Docker Desktop

  • Download the the appropriate Docker Desktop for macOS (Intel Chip vs. Apple Chip) from https://www.docker.com/products/docker-desktop/.
  • Double-click Desktop.dmg to install Docker Desktop.
  • Drag Docker.app to the Applications folder.
  • Launch Docker from the Launchpad.
    • Choose Use recommended settings (requires password) and provide your macOS user password.
    • Click the Accept button to accept the terms of service to continue.
    • You may continue without creating an account or signing in.

Running the dynr Docker Container

  • Launch Docker Desktop.
  • On your macOS terminal, type the following to pull the latest Docker image:
docker pull jeksterslab/dynr-rocker:latest
  • On your macOS terminal, type the following to launch Rstudio Server1:
docker run --rm -ti -e PASSWORD=yourpassword -p 127.0.0.1:8787:8787 jeksterslab/dynr-rocker
  • Open http://localhost:8787 on your web browser to launch Rstudio Server.
    • username: rstudio
    • password: yourpassword2

  1. Note for developers only: Replace jeksterslab/dynr-rocker with jeksterslab/dynr-arma-rocker to use the arma branch.↩︎

  2. You can change the password by replacing yourpassword in PASSWORD=yourpassword.↩︎