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:
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
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:
Run the following command to verify that the image is downloaded:
docker images

The output lists qmetry/qmetry with the latest tag.
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

Run the following command to verify that the file exists:
ls /opt/qtm
Transfer the
qmetryapp.tarfiles 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:
If you are not logged in as the root user, run the following command to switch to the root user:
sudo su
In the directory that contains the
qmetryapp.tarfile, run the following command:docker load -i qmetryapp.tar
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.