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.
- Select Apps in the left navigation pane on the Anywhere Cloud Console.
- Search for the required Cloudera AI Workbench
instance.
Ensure that the status of the instance is
Deployed. - Click on the name of the required instance.
A pane opens displaying the available information for the selected instance.
- Click the URL of the selected Cloudera AI Workbench
instance.
The Cloudera AI Workbench home page is displayed.
- Click Site Administration in the left navigation menu.
The Site Administration page displays.
- Click . The Add Credentials dialog box is displayed.
- In Name, provide a name for the credential. This name will be displayed to manage the credentials.
- In Server, provide the docker server address.
- In Username, provide the username of the credential.
- In Password, provide the password for the credential.
- In Confirm Password, repeat the same password given in the Password field.
- 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.
