Offline installation considerations

Estimated reading time: 1 minute

To install Interlock on a Docker cluster without internet access, the Docker images must be loaded. This topic describes how to export the images from a local Docker engine and then loading them to the Docker Swarm cluster.

First, using an existing Docker engine, save the images:

$> docker save docker/ucp-interlock:3.1.6 > interlock.tar
$> docker save docker/ucp-interlock-extension:3.1.6 > interlock-extension-nginx.tar
$> docker save docker/ucp-interlock-proxy:3.1.6 > nginx.tar

Note: replace docker/ucp-interlock-extension:3.1.6 and docker/ucp-interlock-proxy:3.1.6 with the corresponding extension and proxy image if you are not using Nginx.

You should have the following two files:

  • interlock.tar: This is the core Interlock application.
  • interlock-extension-nginx.tar: This is the Interlock extension for Nginx.
  • nginx:alpine: This is the official Nginx image based on Alpine.

Copy these files to each node in the Docker Swarm cluster and run the following commands to load each image:

$> docker load < interlock.tar
$> docker load < interlock-extension-nginx.tar
$> docker load < nginx:alpine.tar

Next steps

After running on each node, refer to the Deploy section to continue the installation.

routing, proxy, interlock