# 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="https://3027732442-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsR0dHSFv9ymoC0DO5G8J%2Fuploads%2Fgit-blob-ea76944577acd25849fd5997abd2bde056d9b01e%2Fdocker-hub-example.png?alt=media" alt=""><figcaption></figcaption></figure>
