Update
Reading time: 10 minutes
1. Perform pre-update steps
These steps are version specific. They will be defined by Cogniware if there are any. Otherwise move to next step.
2. Stop running services
You need to be at the directory where docker-compose.yml is located.
cd ~/GDPRExplorer/
Stop all docker containers
sudo docker-compose stop
3. Clean docker containers and images
Clean docker system (images, containers, networks).
Following code applies only if docker is used for GDPR Explorer only!
sudo docker system prune -a
If docker is not used only for GDPR Explorer, please contact Cogniware for more information
4. Download Cogniware GDPR Explorer Images
Download the images.tar files.
curl -L -o ~/GDPRExplorer/Images/GDPR_Explorer_update.tar URL_DELIVERED_FROM_COGNIWARE
Optionally you can download them to your client and upload them with WINSCP or SSH SCP.
5. Load Docker Images
sudo docker load -i ~/GDPRExplorer/Images/GDPR_Explorer_update.tar
You will see the individual images being loaded.
After the command finishes, check that all images have been loaded.
sudo docker images
6. Update Docker Compose .yml file
These steps are version specific. They will be defined by Cogniware if there are any. Otherwise move to next step.
7. Start GDPR Explorer
You need to be at the directory where docker-compose.yml is located.
cd ~/GDPRExplorer/
Execute:
sudo docker-compose up -d
Check that all services are UP.
sudo docker-compose ps
Wait for all containers to finish their starting procedure (wait for CPU load to drop below 1%)
sudo docker stats
8. Perform post-update steps
These steps are version specific. They will be defined by Cogniware if there are any. Otherwise update is finished.
Get me there: