Updating a registry
Warning
Starting October 13, 2026, Yandex Container Registry will be unavailable to new users.
The existing users can create resources until November 10, 2026. Afterwards, Yandex Container Registry will go read-only and cease to operate on December 14, 2026. For more information on how it will be handled, see this article on Yandex Container Registry sunset.
Find out how to update:
To access a registry, use its ID or name. To learn how to get a registry ID or name, see Getting information about existing registries.
Updating a registry name
To update the name of a registry:
- In the management console
, select the folder containing the registry. - Navigate
to Container Registry. - Click
next to the registry you want to update. - In the menu that opens, click Edit.
- In the window that opens, enter the registry name.
- Optionally, update labels.
- Click Edit.
If you do not have the Yandex Cloud CLI yet, install and initialize it.
Update the registry name:
yc container registry update my-reg --new-name new-reg
Result:
id: crp3qleutgks********
folder_id: b1g88tflru0e********
name: new-reg
status: ACTIVE
created_at: "2019-01-15T14:39:48.154Z"
Updating a registry label
Update the registry label (do not confuse it with Docker image tags):
yc container registry update new-reg --labels new_label=test_label
Result:
id: crp3qleutgks********
folder_id: b1g88tflru0e********
name: new-reg
status: ACTIVE
created_at: "2019-01-15T14:39:48.154Z"
labels:
new_label: test_label
Configuring access for IP addresses
To add or delete an IP address and configure registry access:
- In the management console
, select the folder containing the registry. - Navigate
to Container Registry. - Click the registry name, select
Access for IP address, and click Set. - Click Add and specify the IP address and its permission for the registry:
PULLto pull Docker images from the registry orPUSHto push them to the registry. - Click
next to the IP address whose access permissions you want to remove. - Click Save.
If you do not have the Yandex Cloud CLI yet, install and initialize it.
Add the IP address to grant access:
yc container registry add-ip-permissions \
--name my-reg \
--pull <IP_address_with_PULL_access> \
--push <IP_address_with_PUSH_access>
Remove the IP address permission:
yc container registry remove-ip-permissions \
--name my-reg \
--pull <IP_address_with_PULL_access> \
--push <IP_address_with_PUSH_access>
To add, update, or delete an IP address and configure its registry access permissions, use the updateIpPermission method for the Registry resource.