Obtaining container images
Creating a Docker Image Pull Secret for pulling images from IBM Entitled Registry
To pull the Sterling Order Management Software container images from IBM Entitled Registry you must supply your entitlement key.
- Obtain an entitlement key from IBM
Container Software Library by using your IBMid and password that are associated with the
entitled software.
If you are not directed to the Entitlement page, click View library and click Get entitlement key.
If you do not have an IBM account, then create your IBM account.
- Click Copy key to copy the generated entitlement key and save the entitlement key to a safe location for later use.
- Optional: Click View library to verify the validity of the entitlement
key.
You can view the list of products that you are entitled to. If Sterling Order Management Software is not listed or if the View library link is disabled it indicates that the identity with which you are logged in to the container library does not have an entitlement for Sterling Order Management Software. In this case, the entitlement key is not valid for installing the software.
- Configure the entitled registry information by completing the following steps:
- Run export commands to set ENTITLED_REGISTRY to
cp.icr.io
. - Set ENTITLED_REGISTRY_USER to
cp
. - Set ENTITLED_REGISTRY_KEY to the entitlement key that you have saved.
- Run export commands to set ENTITLED_REGISTRY to
- Run the following command to log in to IBM Entitled
Registry:
<containerization_tool> login "$ENTITLED_REGISTRY" -u "$ENTITLED_REGISTRY_USER" -p "$ENTITLED_REGISTRY_KEY"
Here,
<containerization_tool>
refers tobuildah
,docker
, orpodman
based on your platform. For example,buildah login "$ENTITLED_REGISTRY" -u "$ENTITLED_REGISTRY_USER" -p "$ENTITLED_REGISTRY_KEY"
- Run the following command to pull the container images from IBM Entitled
Registry:
<containerization_tool> pull cp.icr.io/cp/ibm-oms-
<edition>
/<image_name>:<image_tag>-<cpu_architecture>Here,<containerization_tool>
refers tobuildah
,docker
, orpodman
based on your platform.<edition>
refers to the Sterling Order Management Softwareprofessional
orenterprise
edition.<image_name>
refers toom-app
,om-agent
orom-base
.<image_tag>
- refers to the supported image tags.For the supported Helm charts and container image versions, see Software Product Compatibility Reports.
<cpu_architecture>
- refers to the supported CPU architectures namelyamd64
orppc64le
.
buildah pull cp.icr.io/cp/ibm-oms-professional/om-base:10.0.0.21-amd64
- Run the following command to create Docker pull secret for pulling container images from the IBM
Entitled Registry:
oc create secret docker-registry <secret name> --docker-username="iamapikey" --docker-password="<Entitled registry API key>" --docker-email="<email address>" --docker-server="cp.icr.io" -n <namespace>