Yandex Cloud
Search
Contact UsTry it for free
  • Customer Stories
  • Documentation
  • Blog
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • AI for business
    • Business tools
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Start testing with double trial credits
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Center for Technologies and Society
    • Yandex Cloud Partner program
    • Price calculator
    • Pricing plans
  • Customer Stories
  • Documentation
  • Blog
© 2025 Direct Cursus Technology L.L.C.
Yandex Cloud Registry
  • Getting started
    • All guides
    • Creating a registry
  • Access management
  • Pricing policy
  • Audit Trails events
  1. Step-by-step guides
  2. Creating a registry

Creating a registry

Written by
Yandex Cloud
Updated at November 24, 2025
Management console
CLI
API
  1. In the management console, select the folder you want to create a registry in.

  2. In the list of services, select Cloud Registry.

  3. In the left-hand panel, select Registries.

  4. In the top-right corner, click Create registry.

  5. Select the registry format.

  6. Configure the registry format:

    1. In the Registry type field, select the preferred registry type:

      • Local: Local registry. This type is available for all registry formats.
      • Remote: Remote registry. This type is available for the Maven, Npm, and Docker formats.
      • Virtual: Virtual registry. This type is available for the Maven, Npm, and Docker formats.
    2. If you select Maven for format and Local for type, select a version policy in the Version policy field:

      • Release: For stable versions.
      • Snapshot: For development with frequent updates.
      • Mixed: A combination of Release and Snapshot for flexibility.
    3. If you select Remote for type, select the remote registry's address:

      • For Maven, the available repositories are Maven Central and Axiom.

        Note

        You get access to Axiom on request. To activate access to Axiom, create a request to support.

      • For Npm, you can only use the Npm repository.

      • For Docker, you can only use the Docker Hub repository. You have to specify authentication data for Docker Hub.

        • Grant access to the contents of the Yandex Lockbox secret to the Cloud Registry service agent by assigning it the lockbox.payloadViewer role for this secret.

          Currently, you can only grant this access using the Yandex Cloud CLI command by specifying the ID of the Yandex Lockbox secret containing the token or password and the ID of the cloud you are creating the registry in:

          yc lockbox secret add-access-binding \
            --id <secret_ID> \
            --role lockbox.payloadViewer \
            --agent cloud-registry:data-plane \
            --cloud-id <cloud_ID>
          
        • Get authenticated in Docker Hub using an access token. For do this, select the Basic authentication option, specify the username, and, in the Secret ID in Lockbox field, select the Yandex Lockbox secret whose value key stores the token.

    4. If you selected the Virtual registry type, use the Add registry button in the Registries field to add local and/or remote registries to the virtual registry by specifying their IDs.

      You can look up the registry ID in the management console on the registry info page.

  7. Enter a name and description for the registry.

  8. Click Create.

To create a registry, run this command:

yc cloud-registry registry create \
  --name <registry_name> \
  --description <registry_description> \
  --registry-kind <registry_format> \
  --registry-type <registry_type> \
  --properties <registry_properties>

Where:

  • --name: Registry name.
  • --description: Registry description.
  • --registry-kind: Registry format. The available values are maven, npm, and docker.
  • --registry-type: Registry type. The available values are local, remote, and virtual.
  • --properties: Registry properties. Provide them as a string in name1=value1,name2=value2 format. Available properties:
    • For local registries:
      • versionPolicy: Version policy for a registry in maven format. Possible values: mixed, release, and snapshot. The default value is mixed.
    • For remote registries:
      • source: Source registry. The possible values depend on the registry format, e.g., @maven-central for maven or @npmjs for npm.
      • authorizationType: Authorization type. Possible values: none and basic. The default value is none. Available only for a registry in docker format.
      • authorizationSecretId: ID of the user secret that stores the token or password. It is required if the authorizationType is basic. Available only for a registry in docker format.
      • authorizationUsername: Username. It is required if the authorizationType is basic. Available only for a registry in docker format.
    • For virtual registries:
      • registryIds: List of local and remote registry IDs in the order of their traversal. Provide in registryIds=registry1;registry2 format.
      • readOnly: Permission to push artifacts to the registry. Possible values: true to deny or false to allow pushing.
      • deploymentRegistryId: ID of the registry to push artifacts to. It is required if readOnly is false.

Result:

done (3s)
id: cn1fsnc2dak********
folder_id: b1gc1t4cb638********
name: my-first-registry
kind: DOCKER
type: LOCAL
status: ACTIVE
description: docker
created_at: "2024-11-30T16:11:12.901356Z"
modified_at: "2024-11-30T16:11:16.243323Z"

To create a registry, use the create REST API method for the Registry resource or the RegistryService/Create gRPC API call.

Was the article helpful?

Previous
All guides
Next
Installing and configuring Docker
© 2025 Direct Cursus Technology L.L.C.