How to update the Hyperglance application without Internet access (Legacy Docker Guide)
This article describes how to update the Hyperglance application by downloading Docker container images to your local machine and uploading them to the Hyperglance VM.
Deprecated
This guide is for our legacy Docker-based architecture. See the latest version.
Tip
This process is useful when the Hyperglance VM does not have internet access to pull containers directory from DockerHub.
You will need SSH access to the Hyperglance VM and Docker running on your local PC or Mac.
On your local PC or Mac, pull latest images:
docker pull hyperglance/wildfly-v2:latestdocker pull hyperglance/httpd-v2:latestdocker pull hyperglance/postgresql-v2:latestSave the images to a local tar file
docker save -o hyperglance_images.tar hyperglance/wildfly-v2 hyperglance/httpd-v2 hyperglance/postgresql-v2(Recommended) Compress the tar file:
gzip hyperglance_images.tarUse SCP or a similar tool like WinSCP or FileZilla to copy the file to the VM.
For SCP use the below command if SSH is secured with an SSH Key called "sshkey.pem":
scp hyperglance_images.tar.gz -i sshkey.pem user@hyperglanceVM:/var/lib/data/hyperglance/or use this command if SSH is secured with a password:
scp hyperglance_images.tar.gz user@hyperglanceVM:/var/lib/data/hyperglance/Note
Adjust the username and hyperglance hostname/IP as appropriate.
SSH into the Hyperglance VM and navigate to the directory where you uploaded the image file:
cd /var/lib/data/hyperglanceIf you compressed the images in step 3, uncompress them now:
gzip -d hyperglance_images.tar.gzLoad the images into Docker:
sudo docker load -i hyperglance_images.tarRestart the Hyperglance services to use the new images:
cd /etcsudo docker compose downsudo docker compose up -dWait a few minutes while Docker and Hyperglance restart. Then access the application in your browser as normal. In the bottom-left corner of the UI you should see the Hyperglance version is now the latest version:
