Obtain and Host Docker Images
Obtain the Docker images, utility scripts, and YAML manifest files from MATRIXX, and host the Docker images in a registry so that they can be retrieved and instantiated as containers by Kubernetes.
Procedure
- Download the MATRIXX Digital Commerce Docker images and other packages. For the complete list see the discussion about MATRIXX Docker images and supporting files.
-
Enter the following command to import the MATRIXX public key, if not done
already. This key is used during installation to verify the files are signed by
MATRIXX Software, Inc., and are a valid distribution of the software.
gpg --import MATRIXXSW-GPG-KEY
For more information about the key, see the discussion about installing the MATRIXX Engine software in Installation and Configuration.
-
Decrypt each .tar.sig file with the following command:
gpg -d filename.tar.sig > filename.tar
-
Extract the docker images from the decrypted TAR archives with the docker load
command:
docker load < filename.tar
-
Confirm the images have been loaded:
docker imagesThe docker images command lists the loaded images. The list is the same as the list of .tar.sig files above, without the version numbers or file extension.
-
Set up a local Docker registry at
localhost:5000
on the master node. For instructions on how to set up a Docker registry, see the Docker Web site. -
Use the docker tag command to create a repository that includes the location of
your registry.
docker tag image_ID localhost:5000/repository:version
Where image_ID is the hexadecimal number in the
IMAGE ID
column, repository is the string in theREPOSITORY
column when you run docker images, and version is the MATRIXX Digital Commerce version that you are installing. -
Confirm the new repositories have been created correctly.
docker images
-
Push each image to your registry.
docker push repository
Where repository is the string in the
REPOSITORY
column when you run docker images.