While copying images from the Cloudera hosted
repository to your custom ECR repository, ensure that the metadata (SHA) of the copied
images remains unchanged. Cloudera recommends using
third-party tools, such as 'skopeo', to copy images while preserving the SHA.
Due to security considerations, Cloudera
images are sensitive and require their hash values to remain unchanged when transferring
images between repositories. Ensure that images are copied while retaining the image
manifests and hash values (SHA). If the image SHA in the custom ECR repository differs
from the SHA in the Cloudera hosted repository,
you may encounter issues while activating the Cloudera Data Warehouse
clusters.
To copy images between repositories while preserving image metadata, you
may use third-party tools such as 'skopeo'. For more information on installing or
building skopeo, refer to the skopeo documentation.
Run the following command to copy images from the source to your custom ECR
repository:
Run the following Docker command on both the Cloudera hosted repository and your
custom ECR repository to verify that the RepoDigests field
remains unchanged after the transfer: