cr

Container Registry

ContainersAzure
General

General information about the service.

Description

Private Docker registry service for container images.

Namespace and Entity

Microsoft.ContainerRegistry/registries

Chat

Powered by AI

Talk to this service to learn more about it.

Suggested questions:

Naming

The conventions, rules, and restrictions for naming this service.

Naming Convention

cr

Length

5-50

Valid Characters

Alphanumerics, hyphens, underscores.

Scope

resource group

Code

Deploy your infrastructure as code using your preferred tooling.

Official DocumentationTerraform
terraform
1resource "azurerm_container_registry" "main" {
2 name = "cr${var.project}${var.environment}"
3 resource_group_name = azurerm_resource_group.main.name
4 location = azurerm_resource_group.main.location
5 sku = "Premium"
6 admin_enabled = false
7
8 georeplications {
9 location = "West Europe"
10 zone_redundancy_enabled = true
11 }
12
13 network_rule_set {
14 default_action = "Deny"
15 }
16
17 retention_policy {
18 days = 30
19 enabled = true
20 }
21
22 tags = var.tags
23}
Utilities

Utilities to support app deployment or configuration.

Private Endpoints

Details to successfully deploy private endpoints on Azure.

Sub-Resource Names

registry

Private DNS Zone Names

privatelink.azurecr.io

Public DNS Zone Forwarders

azurecr.io