Skip to content

Container registries

A private Docker registry for your tenant.

Create and use

Registries → Create, then:

docker login <registry-domain> -u <service-account-name> -p <service-account-token>
docker tag my-image <registry-domain>/my-image:1.0.0
docker push <registry-domain>/my-image:1.0.0

Use a service account for docker login, in CI and on your machine. To run an image from the registry as an app, add the same credentials as a registry secret under Secrets and select it as the image pull secret.

Terraform

# A private container registry. Push with:
#   docker login <domain> -u <service account> -p <token>
resource "rso_docker_registry" "images" {
  name = "tf-example-images"
}

output "registry_domain" {
  value = rso_docker_registry.images.domain
}