import { Callout } from "nextra/components";

# Authentication

Some registries (or specific images) may require you to be authenticated. For those, you can modify `cup.json` like this:

```jsonc
{
  "registries": {
    "<YOUR_REGISTRY_DOMAIN_1>": {
      "authentication": "<YOUR_TOKEN_1>"
      // Other options
    },
    "<YOUR_REGISTRY_DOMAIN_2>" {
      "authentication": "<YOUR_TOKEN_2>"
      // Other options
    },
    // ...
  }
  // Other options
}
```

You can use any registry, like `ghcr.io`, `quay.io`, `gcr.io`, etc.

<Callout emoji="⚠️">For Docker Hub, use `registry-1.docker.io`</Callout>
