Pulling and pushing the Universal Connector container image
Before you begin
Perform the procedures described in the following topics:
- Downloading-the-BMC-AMI-SQL-Assurance-installation-files
- If you use a private container registry to maintain your images, then see the applicable topic:
For more information, view the Quick Course BMC AMI SQL Assurance for Db2 - Pull and push process for the Universal Connector container image. |
To pull the container image
- After you have extracted the zip file, BMC-AMI-SQL-Assurance-V13.1-for-Db2-UC, and downloaded the container-token.bmc file, expand the BMC AMI SQL Assurance Version 13.1.00 for Db2 Universal Connector folder.
- Copy the container-token.bmc and download-sa-image.sh files into the same directory on your Linux virtual machine.
Make the bash script file executable by using this command:
chmod +x download-sa-image.sh
The bash script, download-sa-image.sh, is used to pull the Universal Connector container image from containers.bmc.com .Run the bash script by providing your registered email ID as an input argument, for example:
./download-sa-image.sh yourRegisteredEmailID
To push the container image to a container registry
After manually pulling the image using the script, tag the image with the container registry host name by using the following command:
docker tag bmcImageTag newTag
Replace the variables in the command as they apply to your environment:Variable
Description
bmcImageTag
BMC image tag in the download image script and pulled from the containers.bmc.com container registry.
newTag
Container registry hostname to which to push the image. Confirm the new image name with your container registry administrator.
Run the following command, with variable replaced for your environment, to push the newly tagged image to your container registry:
docker push newTag
Where to go from here
See Configuring-an-SSL-certificate-for-use-by-BMC-AMI-SQL-Assurance.