Secure Registry¶
Use a secure registry for production, team, and cloud-hosted image workflows.
A secure registry uses DNS, TLS, and certificates that Docker can validate. This page uses Docker Hub as the example registry.
Create a Public Repository¶
- Sign in to Docker Hub.
- Select My Hub > Repositories.
- Select Create repository.
- Enter a repository name.
- Add a short description if useful.
- Select Public visibility.
- Select Create.
Warning
Current VeeaHub runtime pulls require registry images to be pullable without VeeaHub-side authentication. Use public repositories or another registry configuration that supports unauthenticated pulls until authenticated pulls are supported.
Create a Personal Access Token¶
- Sign in to Docker Hub.
- Open Account settings from the avatar menu.
- Open Personal Access Tokens under Security.
- Select Generate New Token.
- Give the token a descriptive name.
- Select permissions.
- Select Generate.
- Copy the token immediately.
Use Read, Write, Delete permissions when the development host must push images.
Login From the Development Host¶
Run:
Enter the PAT as the password.
Docker stores the encoded credentials in ~/.docker/config.json:
Example structure: