Skip to content

Getting started with Container Registry

This guide walks you through creating your first container registry namespace, authenticating with Docker, and pushing an image.

Prerequisites

RequirementNotes
containerRegistry feature gateMust be enabled on your organisation; contact your account team if not
Registry role bindingOrganisation role on the user or service account that pushes and pulls. See Step 1.
Access credentialCredential used for docker login, with a container registry scope
Docker or OCI clientDocker, 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.

GoalRole
Push and pull imagesregistry:developer
Pull imagesregistry:ReadAccess or registry:viewer
Create and manage namespacesregistry: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:

  1. Open the service account.
  2. Open the IAM tab.
  3. Click Add Role.
  4. Select registry:developer.
  5. 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.

FieldNotes
RegionRequired — determines registry hostname and data locality
NamespaceRequired — lowercase ASCII, no spaces, max 255 characters (for example acme-platform)
DescriptionOptional

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:

ScopeAccess
containerRegistryPush and pull
containerRegistry:allPush and pull
containerRegistry:pullPull 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.0

Push the image:

docker push registry.nl-01.thalassa.cloud/acme-platform/my-app:v1.0.0

The 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.0

What’s next