# Run images from a private registry on blitz.cloud

> Deploy a private Docker image from Docker Hub, ghcr.io, GitLab, Quay or your own registry. Sign in once with a read-only token, and every app of your account can pull with it.

Web page: https://blitz.cloud/docs/private-registries/
Updated: 2026-11-24

blitz.cloud runs images from private repositories on Docker Hub, GitHub (`ghcr.io`), GitLab, Quay and any other registry that signs in with a username and a token. You save a login once, and the apps of your account that pull from that registry use it. It works on every plan.

## Add a login while you deploy

1. Click "Host something new", choose "An app from Docker Hub" and type the full image name, such as `ghcr.io/yourname/yourapp`.
2. Under the image field, open "Image from a private registry?". If the image can't be read without signing in, the wizard opens it for you and says so.
3. Check the registry. It is filled in from the image name: `ghcr.io`, `registry.gitlab.com`, or Docker Hub for a name without a host.
4. Enter your username and a token, then click "Check and save".

blitz.cloud signs in with the token and reads the image. The login is only saved when that worked, and the wizard then fills in the port, folders and settings from the image as it does for a public one. When the registry refuses the token, the reason is shown under the button and nothing is saved.

## Which token to create

Use a token that can only read. blitz.cloud never pushes to your registry.

| Registry | Username | Token |
|---|---|---|
| Docker Hub | Your Docker ID | A personal access token with "Read-only" access (Account settings, Personal access tokens) |
| GitHub, `ghcr.io` | Your GitHub username | A classic personal access token with `read:packages`, or a fine-grained token with read access to the package |
| GitLab, `registry.gitlab.com` | The deploy token's username | A deploy token with `read_registry` (project, Settings, Repository, Deploy tokens) |
| Quay | The robot account's name | The robot account's token |
| Another registry | An account that can pull | Its password or token |

Your own registry has to be reachable from the internet over HTTPS. Addresses inside a private network can't be used.

## Use a login for an app that is already running

On the app's Settings tab, under the image, open "Image from a private registry?", pick the saved login or add a new one, and confirm. The app restarts with the same image and pulls it with the login. Switching to a public image later drops the login from that app.

If an app shows "The registry would not hand out this image", its image is private and it has no login, or its token expired or was revoked. Save a new token for the same registry and username and the apps that use it pick it up at their next start.

## Where logins are kept

Settings, Registry logins lists every saved login with the apps that pull with it. The token is encrypted before it is stored and is never shown again, not in the dashboard and not to an AI assistant. A login that an app still uses can't be removed: point the app at another login or a public image first.

The nightly update check signs in with the app's login too, so automatic updates work for private images as they do for public ones. When an app moves to an organisation, the organisation gets its own copy of the login.

AI assistants connected over MCP can list your logins (`registry_logins`) and use one for `apps_deploy_image` and `apps_change_image`. Adding a login takes a token, so that happens in the dashboard and not in a chat.
