Este contenido no está disponible en el idioma seleccionado.
Configure access to your container images
Explore how you can configure access to your registries to work with your container images.
Abstract
Preface Copiar enlaceEnlace copiado en el portapapeles!
You can configure access to container registries to pull and push container images. Red Hat build of Podman Desktop supports both pre-configured and custom registries. Pre-configured registries include Docker Hub, Red Hat Quay, GitHub Container Registry, Google Container Registry, and Red Hat ecosystem catalog (registry.redhat.io). You can add custom registries manually. Follow the procedures in this documentation for setting up authentication with both types of registries.
Chapter 1. Set up a pre-configured registry Copiar enlaceEnlace copiado en el portapapeles!
Red Hat build of Podman Desktop provides pre-configured registries to simplify authentication for the most popular container registries. You can quickly set up authentication for these registries without manually configuring registry locations.
Red Hat build of Podman Desktop includes pre-configured registries for:
- Docker Hub
- Red Hat Quay
- GitHub Container Registry
- Google Container Registry
-
Red Hat ecosystem catalog (
registry.redhat.io)
If your container registry is in this list, you can authenticate by providing your credentials through the UI. Red Hat build of Podman Desktop automatically handles the registry configuration and authentication process.
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:
- User name
- Password or OAuth secret
-
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 Configure corresponding to the registry you want to set up.
Enter your registry credentials:
- Username: Enter your user name.
- Password: Enter your password or OAuth secret.
- Click Login.
Verification
Red Hat build of Podman Desktop authenticates Podman with the registry using the credentials you provided. You can now pull and push images to and from the pre-configured registry.
Chapter 2. Set up a custom registry Copiar enlaceEnlace copiado en el portapapeles!
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.