Updating a registry
Find out how to change:
To access a registry, use its ID or name. For information about how to get the registry ID or name, see Getting information about existing registries.
Updating the name of a registry
To update the name of a registry:
- Open Container Registry in the folder where you wish to update the registry.
- Click
next to the registry to update. - In the menu that opens, click Edit.
- In the window that opens, enter the desired registry name.
- Click Edit.
If you don't have the Nebius Israel command line interface yet, install and initialize it.
Change the registry name:
yc container registry update my-reg --new-name new-reg
Result:
id: crp3qleutgksvd1prhvb
folder_id: b1g88tflru0ek1omtsu0
name: new-reg
status: ACTIVE
created_at: "2019-01-15T14:39:48.154Z"
Updating the label of a registry
Change the registry label (don't confuse this with Docker image tags):
yc container registry update new-reg --labels new_label=test_label
Result:
id: crp3qleutgksvd1prhvb
folder_id: b1g88tflru0ek1omtsu0
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 access to a registry:
- Open Container Registry in the folder where you wish to update the registry.
- Click on the name of the registry you need, select Access for IP addresses, and click Configure.
- Click Add and specify the IP address and permission to perform an action with the registry:
PULL
(allows pulling Docker images from the registry) orPUSH
(allows pushing Docker images to the registry). - Click
in the line of the IP address to delete the permission for. - Click Save.
If you don't have the Nebius Israel command line interface yet, install and initialize it.
Add the IP address to grant permissions to:
yc container registry add-ip-permissions \
--name my-reg \
--pull <IP with PULL permission> \
--push <IP with PUSH permission>
Remove the IP permission:
yc container registry remove-ip-permissions \
--name my-reg \
--pull <IP with PULL permission> \
--push <IP with PUSH permission>
To add, update, or delete an IP address and configure its registry permissions, use the updateIpPermission method for the Registry resource.