Yandex Cloud
Search
Discuss with expertTry it for free
  • Customer Stories
  • Documentation
  • Blog
  • All Services
    • Cloud Interconnect
    • Cloud Backup
    • Cloud Registry
    • Yandex AI Studio
    • Compute Cloud
    • Object Storage
    • Managed Service for Kubernetes®
    • Yandex BareMetal
    • Smart Web Security
    • Security Deck
    • Managed Service for PostgreSQL
    • Managed Service for ClickHouse®
    • Monium
    • Cloud CDN
    • Network Load Balancer
    • Virtual Private Cloud
    • Cloud DNS
    • Application Load Balancer
    • Yandex Cloud Video
    • Stackland
    • Yandex Cloud Router
    • Yandex Managed Service for Trino
    • Managed Service for MySQL®
    • Managed Service for Valkey™
    • Managed Service for Apache Spark™
    • Yandex StoreDoc
    • Managed Service for OpenSearch
    • Managed Service for Apache Kafka®
    • Data Transfer
    • Yandex MPP Analytics Engine for PostgreSQL
    • Yandex Managed Service for Apache Airflow®
    • Data Processing
    • Yandex MetaData Hub
    • Managed Service for YDB
    • Managed Service for Sharded PostgreSQL
    • Managed Service for YTsaurus
    • Yandex WebSQL
    • DataLens
    • Yandex Search API
    • SpeechSense
    • SpeechKit
    • DataSphere
    • Vision OCR
    • Translate
    • Yandex Identity Hub
    • Key Management Service
    • Certificate Manager
    • Yandex Lockbox
    • Audit Trails
    • SmartCaptcha
    • Cloud Desktop
    • Yandex SIEM
    • SourceCraft Code Assistant
    • Container Registry
    • Managed Service for GitLab
    • Managed Service for Prometheus®
    • Cloud Functions
    • API Gateway
    • Yandex Cloud Postbox
    • Message Queue
    • Serverless Integrations
    • IoT Core
    • Data Streams
    • Serverless Containers
    • Cloud Notification Service
    • Yandex Query
    • Identity and Access Management
    • Yandex Cloud Console
    • Resource Manager
    • Yandex Cloud Billing
    • Yandex Cloud Quota Manager
    • Cloud Apps
  • System Status
  • Marketplace
    • Featured
    • Infrastructure & Network
    • Data Platform
    • AI for business
    • Security
    • DevOps tools
    • Serverless
    • Monitoring & Resources
  • 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
© 2026 Direct Cursus Technology L.L.C.
Yandex Cloud Registry
  • Getting started
    • All guides
        • Overview
        • Local
        • Remote
        • Virtual
    • Creating a lifecycle policy
  • Access management
  • Pricing policy
  • Terraform reference
  • Audit Trails events
  1. Step-by-step guides
  2. Managing a registry
  3. Creating a registry
  4. Local

Creating a local registry

Written by
Yandex Cloud
Updated at August 10, 2026
View in Markdown
Management console
CLI
API
  1. In the management console, select the folder where you want to create a local registry.

  2. Navigate to 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. In the Registry type field, select Local.

  7. If you set the registry format to:

    • Docker, specify an artifact immutability policy:

      • Disabled: Do not use the policy.
      • Simple: Prevent artifact overwriting.
      • Full: Prevent artifact overwriting, even after the artifact is deleted.
    • Maven, specify a versioning policy:

      • Mixed: A combination of Release and Snapshot for flexibility.
      • Release: For stable versions.
      • Snapshot: For development with frequent updates.
    • Debian, optionally, configure registry metadata signing:

      Enable Registry signing and specify the Yandex Lockbox secret containing the GPG key for signing. For more information on preparing a GPG key and creating a secret, see Preparing a GPG key.

  8. Specify the filtering patterns.

  9. Under Registry information:

    • Enter the registry name. The name must not contain spaces or special characters.
    • Optionally, enter a description and add registry labels in key: value format.
  10. Click Create.

To create a local registry, run this command:

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

Where:

  • --name: Registry name.

  • --description: Registry description.

  • --registry-kind: Registry format. Available formats: maven, npm, docker, debian, nuget, pypi, binary, go.

  • --registry-type: Registry type.

  • --properties: Registry properties. Provide them as a string in name1=value1,name2=value2 format. The available properties for local registries are as follows:

    • immutable-artifacts-policy: Artifact immutability policy. It is only supported for the docker registry format. Here are the available policy options:

      • disabled: Do not use the policy.
      • simple: Prevent artifact overwriting.
      • full: Prevent artifact overwriting, even after the artifact is deleted.

      The default value is disabled.

    • version-policy: Versioning policy. It is only supported for the maven registry format. Here are the available policy options:

      • mixed: A combination of release and snapshot for flexibility.
      • release: For stable versions.
      • snapshot: For development with frequent updates.

      The default value is mixed.

    • signingGpgKeySecretId: ID of the Yandex Lockbox secret containing the GPG key for signing the metadata. It is only supported for the debian registry format. For more information on preparing a GPG key and creating a secret, see Preparing a GPG key.

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 local registry, use the create REST API method for the Registry resource or the RegistryService/Create gRPC API call.

In the type field, specify LOCAL.

Was the article helpful?

Previous
Overview
Next
Remote
© 2026 Direct Cursus Technology L.L.C.