Update offline-install.md (#9547)

Fixed filenames.
Fixed an incorrect number (two > three). 
I tested this with the proposed names and it works.
This commit is contained in:
Jose J. Escobar 2019-10-02 07:36:48 -04:00 committed by Olly P
parent 50100ab8e8
commit 0581dae7f7
1 changed files with 4 additions and 4 deletions

View File

@ -12,25 +12,25 @@ First, using an existing Docker engine, save the images:
```bash ```bash
$> docker save {{ page.ucp_org }}/ucp-interlock:{{ page.ucp_version }} > interlock.tar $> docker save {{ page.ucp_org }}/ucp-interlock:{{ page.ucp_version }} > interlock.tar
$> docker save {{ page.ucp_org }}/ucp-interlock-extension:{{ page.ucp_version }} > interlock-extension-nginx.tar $> docker save {{ page.ucp_org }}/ucp-interlock-extension:{{ page.ucp_version }} > interlock-extension-nginx.tar
$> docker save {{ page.ucp_org }}/ucp-interlock-proxy:{{ page.ucp_version }} > nginx.tar $> docker save {{ page.ucp_org }}/ucp-interlock-proxy:{{ page.ucp_version }} > interlock-proxy-nginx.tar
``` ```
Note: replace `{{ page.ucp_org }}/ucp-interlock-extension:{{ page.ucp_version Note: replace `{{ page.ucp_org }}/ucp-interlock-extension:{{ page.ucp_version
}}` and `{{ page.ucp_org }}/ucp-interlock-proxy:{{ page.ucp_version }}` with the }}` and `{{ page.ucp_org }}/ucp-interlock-proxy:{{ page.ucp_version }}` with the
corresponding extension and proxy image if you are not using Nginx. corresponding extension and proxy image if you are not using Nginx.
You should have the following two files: You should have the following three files:
- `interlock.tar`: This is the core Interlock application. - `interlock.tar`: This is the core Interlock application.
- `interlock-extension-nginx.tar`: This is the Interlock extension for Nginx. - `interlock-extension-nginx.tar`: This is the Interlock extension for Nginx.
- `nginx:alpine`: This is the official Nginx image based on Alpine. - `interlock-proxy-nginx.tar`: 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: Copy these files to each node in the Docker Swarm cluster and run the following commands to load each image:
```bash ```bash
$> docker load < interlock.tar $> docker load < interlock.tar
$> docker load < interlock-extension-nginx.tar $> docker load < interlock-extension-nginx.tar
$> docker load < nginx:alpine.tar $> docker load < interlock-proxy-nginx.tar
``` ```
## Next steps ## Next steps