Getting started with Container Registry
This guide walks you through creating your first container registry namespace, authenticating with Docker, and pushing an image.
Prerequisites
| Requirement | Notes |
|---|---|
containerRegistry feature gate | Must be enabled on your organisation; contact your account team if not |
| Registry role binding | Organisation role on the user or service account that pushes and pulls. See Step 1. |
| Access credential | Credential used for docker login, with a container registry scope |
| Docker or OCI client | Docker, Podman, or crane installed locally |
Step 1: Bind a registry role
The user or service account needs an organisation role binding before it can push or pull. Bind the role first, then use an access credential from that account for docker login.
| Goal | Role |
|---|---|
| Push and pull images | registry:developer |
| Pull images | registry:ReadAccess or registry:viewer |
| Create and manage namespaces | registry:admin or registry:FullAccess |
registry:developer includes read, list, push, and pull. Creating a namespace requires registry:admin or registry:FullAccess on the principal that performs that step.
To bind registry:developer to a service account in the console:
- Open the service account.
- Open the IAM tab.
- Click Add Role.
- Select
registry:developer. - Click Add Role.
You can bind the same role from the roles screen: open registry:developer and add the service account as a binding.
For a user, open that member and use the same IAM tab. Project IAM policies can grant the same permissions when the namespace is project-scoped. See Access control.
Step 2: Create a namespace
Create a namespace in the cloud region closest to your workloads. Use the console or the API at /v1/container-registries.
| Field | Notes |
|---|---|
| Region | Required — determines registry hostname and data locality |
| Namespace | Required — lowercase ASCII, no spaces, max 255 characters (for example acme-platform) |
| Description | Optional |
The namespace name cannot be changed after creation. Note the registry hostname shown on the namespace detail page — you need it for tagging and pushing images.
For organisation vs project scoping, see Concepts.
Step 3: Authenticate
Log in with Docker (or any OCI client) using an access credential for the user or service account from Step 1. The credential must include a container registry scope, and the account must have a registry role binding.
docker login registry.nl-01.thalassa.cloud \
-u <access-credential-key> \
-p <access-credential-secret>Replace registry.nl-01.thalassa.cloud with the hostname for your namespace’s region.
Authentication uses the platform’s Docker Registry token endpoint. Credentials must include one of:
| Scope | Access |
|---|---|
containerRegistry | Push and pull |
containerRegistry:all | Push and pull |
containerRegistry:pull | Pull only |
The role binding authorises push and pull. The credential scope limits what that credential can do. Both have to allow the operation. See Access control.
For CI/CD credential patterns, see CI/CD.
Step 4: Tag and push an image
Tag your local image with the full registry path:
docker tag my-app:local \
registry.nl-01.thalassa.cloud/acme-platform/my-app:v1.0.0Push the image:
docker push registry.nl-01.thalassa.cloud/acme-platform/my-app:v1.0.0The repository my-app is created automatically on first push. Verify the image in the console or via the API.
Image address format
{registry-host}/{namespace}/{repository}:{tag}Step 5: Pull the image
Confirm you can pull the image you pushed:
docker pull registry.nl-01.thalassa.cloud/acme-platform/my-app:v1.0.0What’s next
- Kubernetes — Deploy images with
imagePullSecrets - Namespace configuration — Set visibility and retention policies
- CI/CD — Automate push and pull in pipelines
- Repositories — Inspect and manage repositories via the API