Download and Restore Docker Images of QMetry Products

Download and Restore Docker Images of QMetry Products

 

System Requirements and Pre-requisite

  • To prepare the upgrade files, use a machine with internet access.

  • Once the upgrade files are prepared, transfer them to the server along with the QMetryApp.zip file.

  • Install Docker before running Docker commands on the machine.

 

Downloading Docker Images of QMetry Application

To download Docker images, perform the following steps:

Step 1. Log in to Docker Run the following command to log in to Docker: docker login Enter your login credentials. If you do not have the credentials, please get in touch with QMetry Support. Step 2. Pull the application's Docker image from the Docker repository. Run the following command to pull the application’s Docker image: docker pull qmetry/qmetry:latest The download may take some time. Once the process is complete, the following message will appear: Verify that the Docker image is downloaded using the following command. docker images Step 3. Save the application's Docker image as a .tar file. Run the following command to save the Docker images as a .tar file. You can change the path of the .tar file in the following command. docker save -o /opt/qtm/qmetryapp.tar qmetry/qmetry:latest Step 4. Transfer the qmetryapp.tar files to the QMetry application server.

 

Restoring the Docker image of QMetry Application

Run the following command only if you're installing as the root user. If you're using any other user, skip this step: sudo su Go to the directory where the qmetryapp.tar file is placed. Then execute the following command: docker load -i qmetryapp.tar Run the following command to verify that the container images have been successfully restored: docker images