Entry 1.1: Account and Docker Setup - bcb420-2025/Chloe_Calica GitHub Wiki

Account Setup

Docker Setup

  • Created an account in Docker using my github account
  • Downloaded Docker Desktop for Windows - x86_64
  • Followed installation instruction, then was prompted to restart my computer
  • Upon opening my computer, I was also prompted to download .NET 9.0 Desktop Runtime (v9.0.0) - Windows x64 as it sais that I needed this to run Docker Desktop
  • Opening Docker Desktop for the first time: Docker opened for the first time

Creating a new image and container from the BCB420 Dockerfile

  • Connected the Windows Powershell in my computer as the terminal in Docker
  • Using Powershell, I created a directory to store all my code: C:\Users\chloe\Desktop\bcb420_code
  • Navigated to that directory and entered the following command:
docker run -e PASSWORD=changeit --rm \ 
  -v ${PWD}:/home/rstudio/projects -p 8787:8787 \
  risserlin/bcb420-base-image:winter2025
  • Docker after successfully creating the container: Docker Container with BCB420 Image
  • Opened localhost:8787 in my web browser: localhost:8787
  • Signed in to RStudio with:
    • username: rstudio
    • password: changeit
    • Can change password by specifying the parameter of -e PASSWORD=changeit in the above docker command