Adding Docker registry credentials

To enable Cloudera AI to fetch custom ML Runtimes from a secure repository, as an Administrator you need to add Docker registry credentials. If you want to use different credentials for different runtimes, you can add more docker credentials using the UI and API v2 and use that credentials to fetch custom ML Runtimes.

  1. Select Apps in the left navigation pane on the Anywhere Cloud Console.
  2. Search for the required Cloudera AI Workbench instance.

    Ensure that the status of the instance is Deployed.

  3. Click on the name of the required instance.

    A pane opens displaying the available information for the selected instance.

  4. Click the URL of the selected Cloudera AI Workbench instance.

    The Cloudera AI Workbench home page is displayed.

  5. Click Site Administration in the left navigation menu.

    The Site Administration page displays.

  6. Click Runtimes > Docker Credentials > Add Credentials.
    The Add Credentials dialog box is displayed.
  7. In Name, provide a name for the credential. This name will be displayed to manage the credentials.
  8. In Server, provide the docker server address.
  9. In Username, provide the username of the credential.
  10. In Password, provide the password for the credential.
  11. In Confirm Password, repeat the same password given in the Password field.
  12. Click Add.

The credentials name and server name are displayed under the Docker Credentials section. The default credentials are used when ML Runtimes images are pulled, and non-default credentials are used when they are added to a Custom Runtime image in Runtime Catalog.

Click Add Credentials to add more docker credentials. You can use the toggle button to set the default credential. The default credential is picked up automatically for Custom Runtimes coming from the server stored in the default credential. To use your other credentials, add them to Custom Runtimes in Runtime Catalog.

For Legacy engines, the default credentials are used when Legacy Engine images are pulled. The default credential is picked up automatically for Custom Legacy Engines coming from the server stored in the default credential.

Click to edit the Docker credential and click to delete the Docker credential.

Trust the registry in Cloudera Cloud Factory

For trusting the registry, see the instructions in Trusting self-signed CA certificates for private docker registries.