Skip to content

rso_docker_registry (Resource)

A private container registry for the tenant. Push with docker login <domain> using a service account.

Example Usage

# 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
}

Schema

Required

  • name (String) Registry name, unique within the tenant. Changing it creates a new registry.

Read-Only

  • domain (String) Hostname to push to and pull from.
  • id (String) The ID of this resource.
  • status (String) READY or ERROR.