By default, the IS Gateway service uses a container registry hosted on Azure. If your IS Gateway server does not have Internet access, you must set up the registry on a local drive.
Before you begin
Procedure
- Install IS Gateway on a server with Internet access.
- Set up the IS Gateway service to use the Genetec™ production token.
- Add a docker engine.
- Add the driver containers you need.
-
Run Windows PowerShell as an administrator.
- In the Windows taskbar, click and enter PowerShell.
- In the search result, right-click Windows PowerShell and click Run as administrator.
-
In the Windows PowerShell window, enter the following
command:
docker images
The available driver containers are listed. -
Copy the name of the container image you need.
For example, geneteccispidsregistryproduction.azurecr.io/hgh.
-
Move to a folder where you want to generate an archive of this container image.
Use the following command:
where <MyArchiveFolder> is the path to your folder.cd <MyArchiveFolder>
-
Generate an archive of the container image with the following command:
Following our previous example, the command would be:docker save -output <ArchiveName>.tar <ImageName>:<Image TAG>
docker save -output hgh-v1.01.tar geneteccispidsregistryproduction.azurecr.io/hgh:1.01
- Copy the archived container image you generated to the server that has no Internet access.
- On that server, run Windows PowerShell as administrator.
- Move to the folder where you copied the archived container image.
-
Load the container image with the following command:
docker load –input <ArchiveName>.tar
-
Ensure that the image has been correctly loaded with the following command:
docker images
This container image can now be used by the IS Gateway service using the local registry option. - Repeat the same process with all the driver container images you need.