Remove QMetry Application Installation

This article contains steps to completely remove the QMetry application installed on your Linux server. Performing these steps will remove the entire QMetry application installation, docker containers, images, volumes, logs, and data.

Use this article if

  • You’re facing issues while installing the QMetry application first time, and need to remove the existing partial or corrupt installation, and do not wish to keep any data.

  • You have migrated your QMetry installation to another server and would like to purge all QMetry related data from the server. Be sure to back up relevant data before performing these steps.

WARNING
The following steps will completely uninstall QMetry application docker containers, images, logs, volume and data. By performing the below steps, you acknowledge you have required QMetry data and backups OR you no longer require this data.

Steps

  1. The below commands will list all the docker containers

    • sudo su

    • docker ps -a

  2. Stop the QMetry docker containers and remove all containers.

    • docker stop qmetry_rds_1 qmetry_app_1

    • docker rm $(docker ps -a -q)

  3. List docker images and remove all of them.

    • docker images -a

    • docker rmi $(docker images -a -q)

  4. List docker volumes and remove all of them.

    • docker volume ls

    • docker volume prune

When all docker containers, images, and volumes are removed, the following commands will not return any data.

  1. docker ps -a

  2. docker images -a

  3. docker volume ls