Updating a registry
Written by
Find out how to change:
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:
- Open the Container Registry section in the folder where you want to change the registry.
- Click in the line of the registry to change.
- In the window that opens, click Edit.
- In the window that opens, enter the desired registry name.
- 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"
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