# Docker Hub

{% hint style="warning" %}
Мы настоятельно рекомендуем перейти на платный тариф Docker Hub, чтобы предотвратить ограничение загрузки образов.
{% endhint %}

### Вам необходимо иметь под рукой

* [x] Имя вашего Docker-репозитория
* [x] Ваш Docker Access Token

### Access Token ИЛИ Deploy Token

{% hint style="success" %}
Для использования в продакшене мы рекомендуем токен только для чтения
{% endhint %}

Вы можете следовать этому [**учебнику**](https://docs.docker.com/docker-hub/access-tokens) чтобы сгенерировать Access Token

### Разделите имя репозитория

Учитывая этот полный репозиторий: **group/project**

Ваш **Репозиторий** всегда будет: **docker.io**

и ваш **Образ** будет: **group/project**

### Добавьте приложение на Edgegap

**Пример API**

```json
{
    [...]
    "docker_repository": "docker.io",
    "docker_image": "group/project",
    "docker_tag": "v1",
    "private_username": "example@edgegap.com",
    "private_token": "<Access Token>",
    [...]
}
```

**С панели управления**

На нашей панели управления **Токен приватного реестра** будет содержимым вашего **Access Token**

<figure><img src="/files/953ad4661038cb97a33da6aa2cf3bc56e78b7e27" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.edgegap.com/ru/docs/tools-and-integrations/container/external-registries/docker-hub.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
