Download and Restore QMetry Application Docker Images

Use this topic to download the QMetry Application Docker image on a machine with internet access, and then restore it on a server without internet access.

If your server uses Podman, or if you need the images of other QMetry components, see Download and Restore Container Images of QMetry Products.

Prerequisites

Before you begin, make sure that you have the following:

  • A machine with internet access to download the image.

  • Docker installed on the machine that downloads the image and on the QMetry application server.

  • Docker Hub credentials. If you do not have credentials, contact QMetry Support.

  • Write access to the /opt/qtm directory on the machine that downloads the image.

Downloading the QMetry Application Image

To download the QMetry Application Docker image and save it as a .tar file, do the following:

  1. Run the following command to log in to Docker Hub, and then enter your credentials. If you do not have credentials, contact QMetry Support.

    docker login
  2. Run the following command to pull the QMetry Application image from Docker Hub:

    docker pull qmetry/qmetry:latest

    The download may take some time. When the download is complete, a message similar to the following is displayed:

  3. Run the following command to verify that the image is downloaded:

    docker images
    image-20220627-042253.png

    The output lists qmetry/qmetry with the latest tag.

  4. Run the following command to create the directory for the .tar file if it does not exist:

    docker save -o /opt/qtm/qmetryapp.tar qmetry/qmetry:latest
    image-20220627-042253.png
  5. Run the following command to verify that the file exists:

    ls /opt/qtm
  6. Transfer the qmetryapp.tar files to the QMetry application server.

Restore the QMetry Application Image

To restore the QMetry Application Docker image on the QMetry application server, do the following:

  1. If you are not logged in as the root user, run the following command to switch to the root user:

    sudo su
  2. In the directory that contains the qmetryapp.tar file, run the following command:

    docker load -i qmetryapp.tar
  3. Run the following command to verify that the image is restored:

    docker images

    The output lists qmetry/qmetry with the latest tag.

After the image is restored, continue with the installation or upgrade procedure for your environment.

Publication date: