# Docker Hub

{% hint style="warning" %}
We strongly recommend upgrading to paid docker hub tier to prevent image download throttling.
{% endhint %}

### You need to have on hand

* [x] Your Docker Repository name
* [x] Your Docker Access token

### Access Token OR Deploy Token

{% hint style="success" %}
We recommend a Read-Only Token for production usage
{% endhint %}

You can follow this [**Tutorial**](https://docs.docker.com/docker-hub/access-tokens) to generate an Access Token

### Split the Repository Name

Given this Full Repository: **group/project**

Your **Repository** will always be: **docker.io**

and your **Image** will be: **group/project**

### Add the app on Edgegap

**API Example**

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

**From Dashboard**

From our Dashboard, The **Private registry token** will be the content of your **Access Token**

<figure><img src="/files/UgXfn7BwxbTJPEnyA5EO" 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/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.
