Yandex Cloud
  • Services
  • Solutions
  • Why Yandex Cloud
  • Pricing
  • Documentation
  • Contact us
Get started
Language / Region
© 2022 Yandex.Cloud LLC
Yandex Container Registry
  • Getting started
  • Step-by-step instructions
    • All instructions
    • Authenticating in Yandex Container Registry
    • Managing a Docker image
      • Getting information about available Docker images
      • Creating a Docker image
      • Pushing a Docker image to a registry
      • Pulling a Docker image from a registry
      • Deleting a Docker image from a registry
    • Managing Helm charts
      • Getting information about available Helm charts
      • Pushing a Helm chart to a registry
      • Pulling a Helm chart from a registry
      • Deleting a Helm chart from a registry
    • Managing a registry
      • Getting information about existing registries
      • Creating a registry
      • Updating a registry
      • Deleting a registry
    • Managing a repository
      • Getting information about existing repositories
    • Managing policies for automatically deleting Docker images
      • Getting information about existing lifecycle policies
      • Creating a lifecycle policy
      • Updating a lifecycle policy
      • Performing lifecycle policy dry runs
      • Deleting a lifecycle policy
    • Scanning Docker images for vulnerabilities
    • Working with roles
      • Assigning a role
      • Viewing assigned roles
      • Revoking a role
  • Yandex Container Solution
  • Practical guidelines
    • All tutorials
    • Running a Docker image on a VM
    • Setting up automatic scanning of a Docker image
  • Concepts
    • Overview
    • Docker image
    • Docker volume
    • Registry
    • Repository
    • Docker policies for automatically deleting Docker images
    • Vulnerability scanner
    • Backups
    • Quotas and limits
  • Access management
  • Pricing policy
  • API reference
    • Authentication in the API
    • gRPC
      • Overview
      • ImageService
      • LifecyclePolicyService
      • RegistryService
      • RepositoryService
      • ScannerService
      • OperationService
    • REST
      • Overview
      • Image
        • Overview
        • delete
        • get
        • list
      • LifecyclePolicy
        • Overview
        • create
        • delete
        • dryRun
        • get
        • getDryRunResult
        • list
        • listDryRunResultAffectedImages
        • listDryRunResults
        • update
      • Registry
        • Overview
        • create
        • delete
        • get
        • list
        • listAccessBindings
        • listIpPermission
        • setAccessBindings
        • setIpPermission
        • update
        • updateAccessBindings
        • updateIpPermission
      • Repository
        • Overview
        • delete
        • get
        • getByName
        • list
        • listAccessBindings
        • setAccessBindings
        • updateAccessBindings
        • upsert
      • Scanner
        • Overview
        • get
        • getLast
        • list
        • listVulnerabilities
        • scan
  • Troubleshooting
  • Questions and answers
  1. Step-by-step instructions
  2. Managing a registry
  3. Updating a registry

Updating a registry

Written by
Yandex.Cloud
  • Updating the name of a registry
  • Updating the label of a registry

Find out how to change:

  • The name of a registry
  • The label of a registry

To access a registry, use its ID or name. For information on how to find the registry ID or name, see Getting information about existing registries.

Updating the name of a registry

Management console
CLI
API

To change the name of the registry:

  1. Open the Container Registry section in the folder where you want to change the registry.
  2. Click in the line of the registry to change.
  3. In the window that opens, click Edit.
  4. In the window that opens, enter the desired registry name.
  5. Click Edit.

If you don't have the Yandex Cloud command line interface yet, install and initialize it.

Change the registry name:

$ yc container registry update my-reg --new-name new-reg
id: crp3qleutgksvd1prhvb
folder_id: b1g88tflru0ek1omtsu0
name: new-reg
status: ACTIVE
created_at: "2019-01-15T14:39:48.154Z"

To change the registry name, use the update method for the Registry resource.

Updating the label of a registry

CLI
API

If you don't have the Yandex Cloud command line interface yet, install and initialize it.

Change the registry label (don't confuse this with Docker image tags):

$ yc container registry update new-reg --labels new_label=test_label
id: crp3qleutgksvd1prhvb
folder_id: b1g88tflru0ek1omtsu0
name: new-reg
status: ACTIVE
created_at: "2019-01-15T14:39:48.154Z"
labels:
  new_label: test_label

To change the registry label, use the update method for the Registry resource.

Was the article helpful?

Language / Region
© 2022 Yandex.Cloud LLC
In this article:
  • Updating the name of a registry
  • Updating the label of a registry