Create your first Container Registry
Zuletzt aktualisiert am
Welcome to the STACKIT Container Registry. Based on the industry-standard OCI-compliant distribution image and Harbor, our Container Registry integrates seamlessly with the STACKIT Portal to provide secure, scalable storage for your container images and Helm charts.
This guide will walk you through creating a standard registry project, setting up a proxy cache project, and linking legacy projects to the STACKIT management infrastructure.
Create a standard project with the STACKIT Portal
Section titled “Create a standard project with the STACKIT Portal”The primary way to manage your Container Registry resources is directly through the STACKIT Portal.
Step-by-step
Section titled “Step-by-step”- Log in to the STACKIT Portal. 2. Navigate to your wanted STACKIT Project. 3. Select Container Registry from the service menu. 4. Click the Create project button. 5. A form will appear requesting a Project Name.
Naming conventions and DNS Rules
Section titled “Naming conventions and DNS Rules”Because project names are used in DNS routing, your chosen project name must strictly adhere to the following rules:
- Must be between 5 and 255 characters in length.
- Can only contain lowercase letters, digits, dots (
.), underscores (_), or hyphens (-). - Must start and end with a lowercase letter.
- Must be globally unique within the selected STACKIT region. (You cannot use a name already in use by another customer in that region).
Create a proxy project
Section titled “Create a proxy project”A proxy project acts as a pull-through cache for an upstream container registry. When you pull an image from a proxy project, it checks if the image exists locally. If not, it fetches it from the configured external source, caches it in your STACKIT registry, and serves it to your client.
This is highly recommended to bypass rate limits (like those on Docker Hub) and speed up CI/CD pipelines.
Configuration steps
Section titled “Configuration steps”- Follow the steps above to open the Create Project form in the STACKIT Portal. 2. Enter a valid project name. 3. Toggle the Proxy Project option. 4. Specify the Proxy Type (see supported list below). 5. Enter the Endpoint URL of the source system. 6. Provide the necessary Credentials (Username and Password/Token) to authenticate with the upstream source.
Supported proxy types
Section titled “Supported proxy types”You can configure a Proxy Project to pull from the following upstream registries:
- Alibaba Cloud ACR
- Artifact Hub
- Azure ACR
- Docker Hub
- Docker Registry
- Docker Trusted Registry
- GitHub GHCR
- Google GCR
- Harbor
- Helm Hub
- Huawei SWR
- JFrog Artifactory
- Tencent TCR
- VolcEngine CR
Link a legacy project
Section titled “Link a legacy project”If you previously created a Container Registry project directly inside the native Harbor UI (prior to full STACKIT Portal integration), you can link it to the modern STACKIT management infrastructure.
Prerequisites
Section titled “Prerequisites”Linking steps
Section titled “Linking steps”- Navigate to the Container Registry dashboard in the STACKIT Portal. 2. Select the Link a project option. 3. Select the existing legacy project you wish to attach to your current STACKIT infrastructure. 4. Confirm the link. This synchronizes the management of the registry back to your STACKIT Portal.
Now you ran some basic commands with STACKIT Container Registry. From here on you may dig deeper with the How-tos.