Use a Private Registry
Log your Docker host in to a registry once, and every deploy on that host can pull your private images.
Log in
- Open your Docker host and find Private registries.
- Registry: the registry's host name. Leave it empty for Docker Hub.
- Username and Password or token: use an access token where the registry offers one, with read (pull) access only.
- Click Log in.
| Registry | Registry field | Password |
|---|---|---|
| Docker Hub | (empty) or docker.io | Personal access token |
| GitHub | ghcr.io | Personal access token with read:packages |
| GitLab | registry.gitlab.com | Deploy token or access token with read_registry |
| Quay | quay.io | Robot account token |
| Your own | Its host name, for example registry.example.com | As your registry requires |
Where your password is kept
Only on your Docker host, in Docker's own login store. CDNShark stores the registry name and username to show you the list, and never the password.
Use it
Deploy with the full image name, for example ghcr.io/you/app:1.2.
Log out
Click the log-out button next to the registry. Images already on the host keep working; new pulls from that registry need a new login.