Skip to content

Account Setup

Angela Ng edited this page Jan 13, 2023 · 4 revisions

Objective

  • Setup my repository, familiarize myself with wikis, and and start my course journal.
  • Add links to my repository and wiki to the Student Wiki page.
  • Download and install Docker.

Duration

  • Estimated time: 1 hour
  • Actual time: 1 hour

Procedure

  1. Submit an issue to the Student Wiki repo issues page
  2. Setup my Student Wiki page in my repo with my personal information and organize the layout
  3. Add links to my wiki and repo to the Student Wiki page
  4. Download and install Docker to my computer
  5. Test Docker installation with docker run hello-world
  6. Open terminal and navigat to directory where I plan to keep all code for BCB420
  7. Run docker run -e PASSWORD=changeit --rm \ -v "$(pwd)":/home/rstudio/projects -p 8787:8787 \ risserlin/bcb420-base-image:winter2023 in terminal
  8. Open web browser, go to localhost:8787, and enter credentials
  9. Create a test file in the projects directory called test.R

Results

My Wiki and Journal were properly setup according to the instructions with multiple sections. The bcb420-base-image winter 2023 version was successfully added to Docker Desktop and the container ran smoothly. The test.R file was successfully located in the location specified on my computer.

Conclusion

Documenting the setup of my account and Docker in a wiki has been a good refresher on editing wiki pages and introduction to Docker. I have learned that Docker will be a very useful and powerful tool to ensure reproducible code and minimize issues with changing environments and versions.

Outlook

I look forward to learning more about Docker and using it in my future work.

References

Steipe, B., & Isserlin, R. (Edited). (2019). Chapter 1 About. https://bcb420-2023.github.io/R_basics/index.html#docker