Downloading the Docker image
You can download the IBM Connect:Direct® for UNIX Docker image from IBM Entitled Registry.
To download the Docker image from Entitled Registry, complete the following steps:
- Ensure that you have an internet connection on your docker host machine.
- Ensure that you have obtained the entitlement key that is assigned to your ID.
- Log in to My IBM Container Software Library by using the IBM ID and password that are associated with the entitled software.
- In the Entitlement keys section, select Copy key to copy the entitlement key to the clipboard.
- Save the entitlement key to a safe location for later use. To confirm that your entitlement key is valid, click View library at left of the page. You can view the list of products that you are entitled to. If IBM Connect:Direct for Unix 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 IBM Connect:Direct for Unix. In this case, the entitlement key is not valid for installing the software.
- Set the entitled registry information by completing the following steps:
- Log on to machine from where the cluster is accessible
- Export
ENTITLED_REGISTRY=cp.icr.io
- export ENTITLED_REGISTRY_USER=cp
- export ENTITLED_REGISTRY_KEY=<entitlement_key>
- This step is optional. Log on to the entitled registry with the following docker login
command:
docker login "$ENTITLED_REGISTRY" -u "$ENTITLED_REGISTRY_USER" -p "$ENTITLED_REGISTRY_KEY"
- Pull the docker image by executing the following
command:
docker pull cp.icr.io/cp/ibm-connectdirect/cdu6.1_certified_container_6.1.0.4:6.1.0.4_ifix000
- This is only applicable if your docker host does not have an internet connection.
- Go to the machine with an internet connection and docker client installed.
- Follow steps 1-5.
- Save the pulled docker
image:
docker save -o <docker_image_name.tar> <pulled image in your local docker registry or docker>
- Transfer this image to docker host where deployment is intended to done.
- Load the transferred docker image in local
registry.
docker load -i <docker_image_name.tar>
- Invoke the
docker images
command to verify if the image is loaded successfully.