CDNShark Documentation

Docker Hosting

← Back to Documentation

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

  1. Open your Docker host and find Private registries.
  2. Registry: the registry's host name. Leave it empty for Docker Hub.
  3. Username and Password or token: use an access token where the registry offers one, with read (pull) access only.
  4. Click Log in.
RegistryRegistry fieldPassword
Docker Hub(empty) or docker.ioPersonal access token
GitHubghcr.ioPersonal access token with read:packages
GitLabregistry.gitlab.comDeploy token or access token with read_registry
Quayquay.ioRobot account token
Your ownIts host name, for example registry.example.comAs 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.