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
    • 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 Container Registry
  • Getting started
  • Yandex Container Solution
  • Access management
  • Pricing policy
  • Terraform reference
  • Monitoring metrics
  • Audit Trails events
  • Troubleshooting
  • FAQ

In this article:

  • Getting started
  • Creating a registry and performing basic Docker image operations

Getting started with Container Registry

Written by
Yandex Cloud
Improved by
Danila N.
Updated at August 3, 2026
View in Markdown
  • Getting started
  • Creating a registry and performing basic Docker image operations

Use this guide to create your first registry and try your hand at managing Docker images.

Getting startedGetting started

To create a registry, you will need a folder in Yandex Cloud. If you do not have a folder yet, create one before creating a registry:

  1. In the management console, in the top panel, click or and select the cloud.

  2. To the right of the cloud name, click .

  3. Select Create folder.

    create-folder1

  4. Give your folder a name. The naming requirements are as follows:

    • Length: between 3 and 63 characters.
    • It can only contain lowercase Latin letters, numbers, and hyphens.
    • It must start with a letter and cannot end with a hyphen.
  5. Optionally, specify the description for your folder.

  6. Select Create a default network. This will create a network with subnets in each availability zone. Within this network, you will also have a default security group, within which all network traffic will be allowed.

  7. Click Create.

    create-folder2

To work with Container Registry and Docker images, install the Yandex Cloud CLI and configure Docker.

Creating a registry and performing basic Docker image operationsCreating a registry and performing basic Docker image operations

  1. Create a registry in Container Registry:

    yc container registry create --name my-first-registry
    

    Result:

    ..done
    id: crpc9qeoft23********
    folder_id: b1g0itj57rbj********
    name: my-first-registry
    status: ACTIVE
    created_at: "2018-12-25T12:24:56.286Z"
    

    You will use the returned ID to access the created registry later.

  2. Authenticate to Container Registry via a Docker Credential helper:

    1. Configure Docker to use docker-credential-yc:

      yc container registry configure-docker
      

      Result:

      Credential helper is configured in '/home/<user>/.docker/config.json'
      

      The current user profile information is saved during configuration.

      Warning

      The credential helper only works if you use Docker without sudo. To learn how to configure Docker to run on behalf of the current user without sudo, see this Docker guide.

    2. Make sure Docker is now configured.

      The /home/<user>/.docker/config.json configuration file should now contain this line:

      "cr.yandex": "yc"
      
  3. Pull a Docker image from the Docker Hub repository:

    docker pull ubuntu
    
  4. Assign the pulled Docker image a tag in this format: cr.yandex/<registry_ID>/<Docker_image_name>:<tag>:

    docker tag ubuntu \
    cr.yandex/<registry_ID>/ubuntu:hello
    
  5. Push the Docker image to the Container Registry repository:

    docker push \
    cr.yandex/<registry_ID>/ubuntu:hello
    
  6. Run the Docker image:

    docker run \
    cr.yandex/<registry_ID>/ubuntu:hello
    

See alsoSee also

  • Creating a registry
  • Container Registry authentication
  • Creating a Docker image
  • Pushing a Docker image
  • Pulling a Docker image
  • Running a Docker image on a VM

Was the article helpful?

Next
All guides
© 2026 Direct Cursus Technology L.L.C.