Container Registry helps to manage Docker images for your resources. This guide covers how to set up your environment to work with the service, create your first registry, upload and run a Docker image in it.Documentation Index
Fetch the complete documentation index at: https://docs.nebius.com/llms.txt
Use this file to discover all available pages before exploring further.
Prepare your environment
In this guide, you will use the terminal in your environment, e.g. on your local machine, to run commands that create and manage Nebius AI Cloud resources. The commands use the Nebius AI Cloud CLI and tools that you need to install first.- Install Docker Engine:
-
Install jq which parses JSON outputs from the Nebius AI Cloud CLI and extracts resource IDs for other commands:
-
Install the Nebius AI Cloud CLI (how to install) which manages all Nebius AI Cloud resources:
-
Configure the Nebius AI Cloud CLI:
The last command,
nebius profile create, will guide you through several prompts. After you complete the prompts, your browser will open the Nebius AI Cloud web console sign-in screen. Sign in to the web console to complete the initialization. If you have access to multiple tenants, the CLI will prompt you to choose a tenant ID. After that, save your project ID in the CLI configuration: If the project ID has not been configured during thenebius profile createflow, get the project ID and save it in the CLI configuration: -
Create an environment variable for the region in which your project is located:
Create a registry
Create a test registry and save a part of its ID to an environment variable:Configure Docker
Configure Docker to work with the created registry:-
Run the Nebius AI Cloud Docker credential helper. It lets you use Nebius AI Cloud registries without running the
docker login. -
Check that the credential helper is configured:
-
Open the file from the previous command output, for example, with the
catcommand: -
Check that the
credHelpersproperty contains the following lines:
-
Open the file from the previous command output, for example, with the
Push and run a Docker image
-
Pull an image from the Docker Hub:
Do not run the command as root.
-
Assign the image a tag:
-
Push the image to the Container Registry:
Do not run the command as root.
-
Run the image: