Skip to main content
Most images need nothing from you. A private one needs a login BoxLite can pull with — registered once per registry, after which referencing it is identical to any other image:
No credentials at the call site, ever. Which login gets used is worked out from the reference.

Which images a login covers

An image reference has three parts, and a login is registered against the first one:
You can narrow it to part of the registry with a repository prefix: When several logins could match, the most specific one wins. So a broad acme/ login can cover an organization while acme/team-a/ overrides it for one team.
A prefix is whole path segments and must end in /. acme/ is accepted; acme is refused. Omit it to cover the whole registry.
A login can be registered for ghcr.io, docker.io, quay.io, and Google Container Registry — gcr.io and its us., eu., and asia. hosts. Any other host is refused when you create the login.

What goes in username and password

BoxLite signs in the same way everywhere — a username and a password or token. What those two values are is each registry’s own convention, and getting them wrong is the usual reason a pull fails with UNAUTHORIZED.
For Google, oauth2accesstoken with a short-lived access token also works, but the token expires — a service account key is what you want for a login BoxLite keeps.
Your own account’s password is never the right answer. Every registry above issues a token meant for exactly this, and each can be scoped to read-only.

Register the login

  1. Open Images, then the Private registries tab.
  2. Click Connect a registry.
  3. Fill in the host, your username, and a password or access token. Add a repository prefix if you want to narrow it.
The table then lists the host, what it covers, the username, and when it was added.This is the easier path for a one-time setup, and the only one that does not need a Full-access API key.
Use a read-only pull token where your registry issues one. BoxLite only ever pulls.

Then start boxes as usual

With the login in place, a private reference behaves exactly like a public one. It is recorded in the catalog once the box boots, counts against the same limit, and can carry aliases.

Review or remove a login

The Private registries tab lists every login with its host, coverage, and username, and removes one from the row’s action menu.
Removing a login leaves images already in the catalog alone. New boxes that needed it fail to pull.

Things that will bite you

  • The password is write-only. Nothing ever reads it back — not the console, not the SDK. Rotating a credential means removing the login and creating it again; there is no update.
  • A prefix without a trailing / is refused. acme/, not acme.
  • Forbidden errors on registry calls are a key problem. These calls need Full access; a Boxes key cannot make them.

Next

Pin a build

Name the exact build production should boot.

The catalog

Private images count against the same limit as public ones.