Updating a registry

Find out how to change:

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

Changing the name of a registry

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 image 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 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.

Changing the label of a registry

If you don't have the Yandex.Cloud command line interface yet, install 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.