Chapter 2. Set up a custom registry
You can configure authentication for any container registry, including custom registries that are not available in the pre-configured list. In the Red Hat build of Podman Desktop UI, you can add and authenticate with any registry by providing the registry location and your credentials.
As an administrator, you can edit the managed defaults and locked configuration files to lock the values for the registries.defaults option. This helps in configuring default registries and their mirrors for your enterprise needs. For more details, refer to Deploy a managed user environment.
Prerequisites
Ensure that you have:
Authentication details for your container registry:
-
Registry URL (for example,
https://myregistry.tld) - User name
- Password or OAuth secret
-
Registry URL (for example,
-
The fully qualified name of a private image stored in your registry, such as
my-registry.tld/my-repository/my-image. -
The fully qualified image name that your registry requires to push an image, such as
my-registry.tld/my-repository/my-image.
Procedure
- Go to the Settings > Registries page from the left navigation pane.
- Click Add registry at the top right corner of the screen. A pop-up opens.
Enter your registry details:
-
URL (HTTPS only): Enter your repository URL, such as
https://myregistry.tld. - Username: Enter your user name.
- Password: Enter your password or OAuth secret.
- Click Add.
-
URL (HTTPS only): Enter your repository URL, such as
Verification
- Red Hat build of Podman Desktop authenticates Podman with your custom registry using the credentials you provided. You can now pull and push images to and from the custom registry.