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

  1. Download the MATRIXX Digital Commerce Docker images and other packages. For the complete list see the discussion about MATRIXX Docker images and supporting files.
  2. 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.

  3. Decrypt each .tar.sig file with the following command:
    gpg -d filename.tar.sig > filename.tar
  4. Extract the docker images from the decrypted TAR archives with the docker load command:
    docker load < filename.tar
  5. Confirm the images have been loaded:
    docker images
    The 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.
  6. 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.
  7. 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 the REPOSITORY column when you run docker images, and version is the MATRIXX Digital Commerce version that you are installing.

  8. Confirm the new repositories have been created correctly.
    docker images
  9. Push each image to your registry.

    docker push repository

    Where repository is the string in the REPOSITORY column when you run docker images.