-
Notifications
You must be signed in to change notification settings - Fork 1
1 — Initial Setup Task
narasi15 edited this page Feb 11, 2020
·
2 revisions
- Set up Student Wiki Page in repo
- Start course journal on repo wiki.
- Create new image and container from the bcb420 Dockerfile, after installing Docker
Time estimated: 2 h; taken 3 h; date started: 2020-01-10; date completed: 2020-01-10
- Successfully setup wiki page
- Completed first Journal entry
- Downloaded and installed Docker, and did the following:
-
- git clone https://github.com/docker/doodle.git
-
- cd doodle/cheers2019 && docker build -t narasi15/cheers2019 (to build and tag a Docker image)
-
- docker run -it --rm narasi15/cheers2019 (to run the container)
-
- docker login && docker push narasi15/cheers2019
- A lot of time was spent trying to push local commits on my branch to the remote, as I kept getting a permission error, and a url request denied 403 error. I had to do a bit of digging to set the remote branch url correctly. I used the command git remote set-url origin. Usually, pushing directly to the master branch is something that is not encouraged, so I went the long way and forked the repo instead.
This copyrighted material is licensed under a Creative Commons Attribution 4.0 International License. Follow the link to learn more.
This copyrighted material is licensed under a Creative Commons Attribution 4.0 International License. Follow the link to learn more.