Setting up Docker - bcb420-2024/Krutika_Joshi GitHub Wiki

  1. Downloaded Docker on my Mac
  2. Went to the BCB420 Docker Image site
  3. Identified the tag required to pull the bcb420-base-image

docker pull risserlin/bcb420-base-image:winter2024-arm64

  1. Changed directory in terminal so I can run the container in the appropriate location
  2. Ran the following command to run the container

docker run -e PASSWORD=**(replace with password)** -v "$(pwd)":/home/rstudio/projects -p 8787:8787 risserlin/bcb420-base-image:winter2024-arm64

  1. Went to my chosen web browser(i.e safari) and ran http://localhost:8787/
  2. Entered rstudio as the username and entered the password mentioned in point 5