Support Questions

Find answers, ask questions, and share your expertise

Get the company docker registry

avatar

Hi,

I would like to know how can i get if it is available the company docker registry. To push the image to my company Docker registry.

Best wishes,

Salim 

1 ACCEPTED SOLUTION

avatar
Master Collaborator

Hello @SalimAlhajri 

Thank you for reaching out to cloudera community

You can use the copy-docker script to copy the images to your registry. While adding the data services cluster you would get the option to download the script

Or else you can try the steps below

  1. when you download ECS, download both parcels and images
  2. make sure you adjust the manifest.json's http_path to the local http(s) server of the local repo
  3. use CM's generateCopyDocker  API to generate the version spec copy-docker.sh  script
  4. adjust the script if needed, in terms of:
    1. custom location for image temp storage
    2. custom location for pod load temp storage
    3. set PODMAN_OR_DOCKER explicitly if podman also identifies itself as docker.
Finally run the script to load images from repo server into image registry
to access the image registry to load ECS images make sure the user who runs the script is logged into the registry
 
I am attaching a demo script from my cluster. If you have any further queries 
 
Please help our community grow. If you found any of the suggestions/solutions provided helped you with solving your issue or answering your question, please take a moment to login and click "Accept as Solution" on one or more of them that helped.

View solution in original post

1 REPLY 1

avatar
Master Collaborator

Hello @SalimAlhajri 

Thank you for reaching out to cloudera community

You can use the copy-docker script to copy the images to your registry. While adding the data services cluster you would get the option to download the script

Or else you can try the steps below

  1. when you download ECS, download both parcels and images
  2. make sure you adjust the manifest.json's http_path to the local http(s) server of the local repo
  3. use CM's generateCopyDocker  API to generate the version spec copy-docker.sh  script
  4. adjust the script if needed, in terms of:
    1. custom location for image temp storage
    2. custom location for pod load temp storage
    3. set PODMAN_OR_DOCKER explicitly if podman also identifies itself as docker.
Finally run the script to load images from repo server into image registry
to access the image registry to load ECS images make sure the user who runs the script is logged into the registry
 
I am attaching a demo script from my cluster. If you have any further queries 
 
Please help our community grow. If you found any of the suggestions/solutions provided helped you with solving your issue or answering your question, please take a moment to login and click "Accept as Solution" on one or more of them that helped.