Registry
We are running an instance of Harbor at https://registry.cloud.csclub.uwaterloo.ca. Harbor is a container registry for uploading and downloading Docker images.
Resource Limits
As of this writing, each member is restricted to a project with a 25GB storage quota. Multiple images may be pushed to a project.
If you want more space, please send an email to syscom with a brief justification.
Logging in to the website
Just visit https://registry.cloud.csclub.uwaterloo.ca and press the 'Login via OIDC Provider' button.
Create a project
After you have logged in to Harbor, SSH into a CSC machine and run the following:
ceo registry project create
Logging in to the registry
From the Harbor UI, click the top left corner, click 'User Profile', and copy the CLI secret.
From your personal computer, login to the registry:
docker login registry.cloud.csclub.uwaterloo.ca
Pushing an image
Once you have logged into the registry, you can start pushing your own images.
Let's say you have an image which you created locally called
myimage:0.1.0
. Create a new tag of your image for the CSC registry:
docker tag myimage:0.1.0 registry.cloud.csclub.uwaterloo.ca/your_username/myimage:0.1.0
your_username
with your actual username.)
Now push it:
docker push registry.cloud.csclub.uwaterloo.ca/your_username/myimage:0.1.0
Tip
Keep your Docker images small. This speeds up your upload time, and makes you less likely to reach your storage quota. Here are some good suggestions; you can find plenty more online with a quick Google search.