Start Date
|
End Date
|
Time Estimate
|
Time Taken
|
2022 JAN 13
|
2022 JAN 14
|
1 Hour 30 Min.
|
2 Hours 30 Min.
|
- To establish our course repository and journal, and to download and gain familiarity with Docker, by creating an image and container from the bcb420 Dockerfile.
- Submitted an issue in the student wiki repo issues page and was allowed to continue.
- Established a student wiki page in the appropriate repo.
- Started a course journal on my repo wiki, and linked my new wiki and repo to the student wiki page.
- Downloaded and installed Docker.
- I ran the Docker desktop 4.4.2 installer for my Windows 10 Home pc.
- PC restarts, Docker sends a message saying it failed to initialized. Specifically:
Hardware assisted virtualization and data execution protection must be enabled in the BIOS. See
https://docs.docker.com/desktop/windows/troubleshoot/#virtualization
-
- From the link I gather Four main criteria for Docker working:
- Virtual Machine Platform must be enabled.
- Windows Subsystem for Linux must be enabled.
- Virtualization enabled in the BIOS.
- Hypervisor enabled at Windows startup.
- Virtualization was disabled in BIOS. I enable it, and Windows fails to boot.
- I disable virtualization, Windows eventually reconfigures and runs, then I deselect Hyper-V in Control Panel.
- I return to BIOS, reenabling virtualization, and reboot Windows, it boots succesfully.
- Docker produces another error:
WSL 2 installation is incomplete.
https://docs.microsoft.com/en-us/windows/wsl/install-manual#step-4---download-the-linux-kernel-update-package
- I download the linux kernel it requests at the link immediately above. At this point there is no issue with Docker!
- Using the class base image and the following command line code:
docker run -e PASSWORD=newpass -v %cd%:/Desktop -p 8787:8787 risserlin/bcb420-base-image:winter2022
- which was modified from
docker run -e PASSWORD=changeit -v "$(pwd)":/home/rstudio/projects -p 8787:8787 risserlin/bcb420-base-image:winter2022
- I was able to get an image and 2 containers running.
- Of the two containers, recursing_kirch & pedantic_taussig, the latter was ported to 8787. I succesfully logged in to rstudio (and utilized it) on a web browser using:
localhost:8787
username: rstudio
password: newpass
- Although configuring Docker onto my PC proved challenging, the software appears to provide us a robust solution for managing pipelines for future projects.
- With this assignment I have gained familiarity with the overall course layout, understanding where and how work will be needed to be submitted, and in what style.
- With Docker, my course repo, and wiki set up, I can now contribute to my journal entries as I progress in the course.
- Going forward, the best bet is to invest time in familiarizing myself with Docker by using it.
This copyrighted material is licensed under a Creative Commons Attribution 4.0 International License.