---
title: "Authorize in the Docker CLI"
sidebar_label: "Authorize in the Docker CLI"
sidebar_position: 1
description: "How to authorize in the Docker CLI to work with the registry"
---

import Formbricks from '@theme/MDXComponents/Formbricks'

# Authorize in the Docker CLI

1. To work with the Docker CLI [get a token](/craas/tokens/generate-token.mdx) — data for authorization.

2. Open a terminal and enter the command:

   ```bash
   docker login cr.selcloud.ru
   ```

3. Enter the username (username) and password (password) for the token that you saved in step 9 of the [Generating a Token in Container Registry](/craas/tokens/generate-token.mdx) guide.

<Formbricks />
