Authenticate to the container registry

To pull the gcc-toolset-15 image, you must log in to the container registry.

Before you begin

  • container-tools are installed on the RHEL host.
  • You have the registry hostname and valid credentials.

Procedure

  1. Log in to the registry using podman:
    $ podman login <REGISTRY>

    Replace <REGISTRY> with your registry hostname.

  2. When prompted, enter your user name and password, or use the authentication mechanism that your organization provides.

Results

  • Verify that the login and registry access were successful by searching for the gcc-toolset-15 image:
    $ podman search <REGISTRY>/<NAMESPACE>/gcc-toolset-15**