Cloud Pak for Business Automation

Cloud Pak for Business Automation

Come for answers. Stay for best practices. All we’re missing is you.

 View Only
Expand all | Collapse all

How can I list all of the container images in the IBM CR registry for Cloud Pak for Automation (CP4A) ?

  • 1.  How can I list all of the container images in the IBM CR registry for Cloud Pak for Automation (CP4A) ?

    Posted Mon July 20, 2020 12:27 PM

    I am entitled for several CP4A products and able to pull several images that I deploy when I follow the Knowledge Center instructions, but how can I list all of the container images in the IBM CR registry for CP4A ?



    #CloudPakforBusinessAutomation
    #Support
    #SupportMigration


  • 2.  RE: How can I list all of the container images in the IBM CR registry for Cloud Pak for Automation (CP4A) ?
    Best Answer

    Posted Mon July 20, 2020 01:16 PM

    Using the ibmcloud cli, you can list container images for certain namespaces within icr.io, specifically the ibm namespace, but the cp namespace for Cloud Pak images cannot be listed by customers.

    Even though customers can pull cp4a container images from the icr.io registry for the components they are entitled for with either the Marketplace entitlement-key, or public cloud entitlement key, the registry is restricted to read the contents. This can be observed when you login to the ibmcloud via cli:

    $ ibmcloud login -a cloud.ibm.com -u <username> -p <password>

    # if not already installed, install plugin for the CR

    $ ibmcloud plugin install container-registry

    $ ibmcloud cr region-set global

    The region is set to 'global', the registry is 'icr.io

    $ ibmcloud cr image-list --include-ibm # lists ibm images within general access namespace, no restrictions

    $ ibmcloud cr image-list --include-ibm -restrict cp # lists the images in the cp namespace

    Listing images..

    FAILED

    You are not authorized to access the specified resource.

    -------

    You can speak to your IBM Account Rep for the specific info you are requesting regarding the cp.icr.io registry, and they can direct you accordingly.




    #CloudPakforBusinessAutomation
    #Support
    #SupportMigration