Nebius Israel
Contact usConsole
  • GPU
  • Docs
© 2023 Nebius Israel Ltd
Container Registry
  • Getting started
  • Container Solution
  • Access management
  • Pricing policy
  • Troubleshooting
  • Questions and answers
  1. Step-by-step guides
  2. Managing a registry
  3. Updating a registry

Updating a registry

  • Updating the name of a registry
  • Updating the label of a registry
  • Configuring access for IP addresses

Find out how to change:

  • A registry's name.
  • A registry's label.
  • Access for IP addresses.

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 registryUpdating the name of a registry

Management console
CLI
API

To update the name of a registry:

  1. Open Container Registry in the folder where you wish to update the registry.
  2. Click next to the registry to update.
  3. In the menu that opens, click Edit.
  4. In the window that opens, enter the desired registry name.
  5. 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"

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

Updating the label of a registryUpdating the label of a registry

CLI
API

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

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

Configuring access for IP addressesConfiguring access for IP addresses

Management console
CLI
API

To add or delete an IP address and configure access to a registry:

  1. Open Container Registry in the folder where you wish to update the registry.
  2. Click on the name of the registry you need, select Access for IP addresses, and click Configure.
  3. Click Add and specify the IP address and permission to perform an action with the registry: PULL (allows pulling Docker images from the registry) or PUSH (allows pushing Docker images to the registry).
  4. Click in the line of the IP address to delete the permission for.
  5. 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.

© 2023 Nebius Israel Ltd
In this article:
  • Updating the name of a registry
  • Updating the label of a registry
  • Configuring access for IP addresses