Skip to content

Updating Credentials for CloudFabrix Image Repository

This guide explains how to update credentials for the CloudFabrix image repository in two scenarios:

1. On-Premises Registry

2. Direct Access CloudFabrix Repository (Internet Access)

1. Pre-Requisites

  • Docker registry should be docker1.cloudfabrix.io

  • RDAF Code should be 8.0.0 or above

2. On-Premises Registry

To update the credentials for the on-premises registry, please follow the steps outlined below.

2.1 Download the Script

  • The script can be found at the following location
wget https://macaw-amer.s3.us-east-1.amazonaws.com/releases/RDA/update_docker_regsitry_creds.py

2.2 Execute the Script

  • Run the following command.
python update_docker_regsitry_creds.py registry
  • User will be prompted to enter your credentials, as shown below.
Creating backup rdaf-registry.cfg
 Enter docker registry user: macaw
 Enter docker registry password: xxxxxxx
Login Succeeded
 WARNING! Using --password via the CLI is insecure. Use --password-stdin.
 WARNING! Your password will be stored unencrypted in /home/rdauser/.docker/config.json.
Error response from daemon: Get "https://docker1.cloudfabrix.io:443/v2/": unauthorized: authentication required

3. Direct Access CloudFabrix Repository (Internet Access)

  • If user's are downloading images directly from the CloudFabrix repository via the internet, update your credentials using the following command.
python update_docker_regsitry_creds.py platform
  • User will be prompted to enter your registry credentials.
Configure the registry credentials:
 Enter docker registry user: macaw
 Enter docker registry password: xxxxxxx
  • User should see a message like this.
docker login on host 192.168.108.91
Login Succeeded
Login Succeeded
WARNING! Using --password via the CLI is insecure. Consider using --password-stdin.
WARNING! Your password will be stored unencrypted in /home/rdauser/.docker/config.json.
Error response from daemon: Get "https://docker1.cloudfabrix.io:443/v2/": unauthorized

4. Security Notes

  • User may encounter warnings regarding passwords being stored in ~/.docker/config.json
WARNING! Your password will be stored unencrypted in /home/rdauser/.docker/config.json.
  • To address this issue, consider configuring a Docker credential helper. For more information, please click here

Your CloudFabrix registry credentials have now been successfully updated.