Skip to content
English
  • There are no suggestions because the search field is empty.

How to update the Hyperglance application without Internet access

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.

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.

1) On your local PC or Mac, pull latest images:

docker pull hyperglance/wildfly-v2:latest

docker pull hyperglance/httpd-v2:latest

docker pull hyperglance/postgresql-v2:latest

 

2) Save the images to a local tar file

docker save -o hyperglance_images.tar hyperglance/wildfly-v2 hyperglance/httpd-v2 hyperglance/postgresql-v2

 

3) (Recommended) Compress the tar file:

gzip hyperglance_images.tar

 

4) Use 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.

 

 

5) SSH into the Hyperglance VM and navigate to the directory where you uploaded the image file:

cd /var/lib/data/hyperglance

 

6) If you compressed the images in step 3, uncompress them now:

gzip -d hyperglance_images.tar.gz

 

7) Load the images into Docker:

sudo docker load -i hyperglance_images.tar

 

8) Restart the Hyperglance services to use the new images:

cd /etc
sudo docker compose down
sudo docker compose up -d

 

9) Wait a few minutes why 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: