Getting Started with the Container Registry¶
This guide will walk you through the first steps of using the Container Registry service. You will learn how to log in, tag your container images, and push them to your private project repository.
Getting Access¶
To begin, you will need access credentials for the registry. Access is managed by us, and you can request it by contacting us.
Once your request is processed, we will provide you with a username and password and create a dedicated project for you within the Harbor registry. A project is a namespace where you can create and manage your own image repositories.
Step 1: Logging In¶
Before you can push or pull images, you need to authenticate with the registry using your container client, such as Docker or Podman.
Open your terminal and run the following command. You will be prompted to enter the username and password we provided.
A "Login Succeeded" message confirms that you are authenticated.
Step 2: Tagging Your Image¶
To push an image to the registry, you must first tag it with the correct name. The image name must follow this format:
registry.netic.dk/<your-project-name>/<your-image-name>:<tag>
For example, if you have a local image named my-app:latest and your project in
Harbor is named my-corp, you would tag it like this:
Step 3: Pushing Your Image¶
Once the image is correctly tagged, you can push it to the registry:
After the push is complete, your image will be available in your my-corp
project within the Harbor UI. The my-app repository will be created
automatically the first time you push an image to it.
Next Steps¶
You have now successfully pushed your first image to the Container Registry!
- You can now log in to the Harbor web interface at
https://registry.netic.dkto manage your repositories, view vulnerability scan results, and configure project settings. - For more detailed information on advanced features, refer to the official Harbor documentation.