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 load them to the Docker Swarm cluster.
First, using an existing Docker engine, save the images:
$> docker save docker/ucp-interlock:3.2.5 > interlock.tar
$> docker save docker/ucp-interlock-extension:3.2.5 > interlock-extension-nginx.tar
$> docker save docker/ucp-interlock-proxy:3.2.5 > interlock-proxy-nginx.tar
Note
Replace
docker/ucp-interlock-extension:3.2.5
and docker/ucp-interlock-proxy:3.2.5
with the corresponding extension and proxy image if you are not using
Nginx.
You should have the following three files:
interlock.tar
: This is the core Interlock application.interlock-extension-nginx.tar
: This is the Interlock extension
for NGINX.interlock-proxy-nginx.tar
: This is the official NGINX image based
on Alpine.Next, 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