Update UCP/DTR offline instructions

This commit is contained in:
Joao Fernandes 2017-07-17 16:43:58 -07:00 committed by Jim Galasyn
parent b71390983c
commit 8f8dc11c5f
6 changed files with 69 additions and 39 deletions

View File

@ -105,7 +105,8 @@ defaults:
values:
dtr_org: "docker"
dtr_repo: "dtr"
dtr_version: "2.3.0"
dtr_version_minor: "2.3"
dtr_version: "2.3.0-beta1"
- scope:
path: "datacenter/dtr/2.2"
values:
@ -130,7 +131,8 @@ defaults:
values:
ucp_org: "docker"
ucp_repo: "ucp"
ucp_version: "2.2.0"
ucp_version_minor: "2.2"
ucp_version: "2.2.0-beta1"
- scope:
path: "datacenter/ucp/2.1"
values:

View File

@ -0,0 +1,19 @@
# This contains the list of urls that you can use to download a tar file
# with all the images needed to install Docker Datacenter in an air-gapped
# environment that can't access the internet
# Used by _includes/components/ddc_url_list.html
- product: "ucp"
version: "2.2"
tar-files:
- description: "2.2.0-beta 1 Linux"
url: https://packages.docker.com/caas/ucp_images_2.2.0-beta1.tar.gz
- description: "2.2.0-beta 1 IBM Z"
url: https://packages.docker.com/caas/ucp_images_s390x_2.2.0-beta1.tar.gz
- description: "2.2.0-beta 1 Windows"
url: https://packages.docker.com/caas/ucp_images_win_2.2.0-beta1.tar.gz
- product: "dtr"
version: "2.3"
tar-files:
- description: "DTR 2.3.0"
url: https://packages.docker.com/caas/dtr-2.3.0-beta1.tar.gz

View File

@ -0,0 +1,18 @@
<!-- Start of ddc_url_list.html, displays a list of DDC tar files -->
{% for data in site.data.ddc_offline_files_2 %}
{% if data.product == include.product and data.version == include.version %}
<div class="row">
<div class="col-md-6 col-md-offset-3">
<div class="list-group center-block">
{% for tar-file in data.tar-files %}
<a href="{{ tar-file.url }}" target="_blank" class="list-group-item">
{{ tar-file.description }}
<span class="badge"><span class="glyphicon glyphicon-chevron-right"></span></span>
</a>
{% endfor %}
</div>
</div>
</div>
{% endif %}
{% endfor %}
<!-- End of dc_url_list.html -->

View File

@ -15,15 +15,14 @@ all the images. Then you copy that package to the host where youll install DT
## Versions available
{% include components/ddc_url_list.html %}
{% include components/ddc_url_list_2.html product="dtr" version="2.3" %}
## Download the offline package
Use a computer with internet access to download a single package with all
Docker Datacenter components:
Use a computer with internet access to download a package with all DTR images:
```bash
$ wget <package-url> -O docker-datacenter.tar.gz
$ wget <package-url> -O dtr.tar.gz
```
Now that you have the package in your local machine, you can transfer it to
@ -31,21 +30,21 @@ the machines where you want to install DTR.
For each machine where you want to install DTR:
1. Copy the Docker Datacenter package to that machine.
1. Copy the DTR package to that machine.
```bash
$ scp docker-datacenter.tar.gz <user>@<host>:/tmp
$ scp dtr.tar.gz <user>@<host>
```
2. Use ssh to login into the hosts where you transferred the package.
3. Load the Docker Datacenter images.
3. Load the DTR images.
Once the package is transferred to the hosts, you can use the
`docker load` command, to load the Docker images from the tar archive:
```bash
$ docker load < docker-datacenter.tar.gz
$ docker load < dtr.tar.gz
```
## Install DTR

View File

@ -24,48 +24,40 @@ installation will fail.
## Versions available
{% include components/ddc_url_list.html %}
Use a computer with internet access to download the UCP package from the
following links.
{% include components/ddc_url_list_2.html product="ucp" version="2.2" %}
## Download the offline package
Use a computer with internet access to download the packages with all
Docker Enterprise Edition components. Get the latest binary packages
for UCP and DTR from the following links.
### Versions available
{% include components/ddc_url_list.html %}
You can also use these links to get the UCP and DTR binaries from the command
You can also use these links to get the UCP package from the command
line:
```bash
$ wget <ucp-package-url> -O ucp.tar.gz
$ wget <dtr-package-url> -O dtr.tar.gz
```
Now that you have the packages on your local machine, you can transfer them to
the machines where you want to install UCP and DTR.
Now that you have the package in your local machine, you can transfer it to
the machines where you want to install UCP.
For each machine that you want to manage with UCP:
1. Copy the Docker EE package to the machine.
1. Copy the UCP package to the machine.
```bash
$ scp ucp.tar.gz <user>@<host>:/tmp
$ scp dtr.tar.gz <user>@<host>:/tmp
$ scp ucp.tar.gz <user>@<host>
```
2. Use ssh to log in to the hosts where you transferred the package.
3. Load the Docker EE images.
3. Load the UCP images.
Once the package is transferred to the hosts, you can use the
`docker load` command, to load the Docker images from the tar archive:
```bash
$ docker load < ucp.tar.gz
$ docker load < dtr.tar.gz
```
Follow the same steps for the DTR binaries.
@ -73,7 +65,7 @@ Follow the same steps for the DTR binaries.
## Install UCP
Now that the offline hosts have all the images needed to install UCP,
you can [install Docker UCP on one of the manager nodes](index.md).
you can [install Docker UCP on one of the manager nodes](index.md).
## Where to go next

View File

@ -10,20 +10,22 @@ the internet or not.
The only difference when installing on an offline host is that instead of
pulling the UCP images from Docker Hub, you use a computer that's connected
to the internet to download a single package with all the images. Then you
copy this package to the host where you upgrade UCP.
copy this package to the host where you upgrade UCP.
## Versions available
{% include components/ddc_url_list.html %}
Use a computer with internet access to download the UCP package from the
following links.
{% include components/ddc_url_list_2.html product="ucp" version="2.2" %}
## Download the offline package
Use a computer with internet access to download a single package with all
UCP components:
You can also use these links to get the UCP package from the command
line:
```bash
$ wget <package-url> -O ucp.tar.gz
$ wget <package-url> -O dtr.tar.gz
$ wget <ucp-package-url> -O ucp.tar.gz
```
Now that you have the package in your local machine, you can transfer it to
@ -34,20 +36,18 @@ For each machine that you want to manage with UCP:
1. Copy the offline package to the machine.
```bash
$ scp ucp.tar.gz <user>@<host>:/tmp
$ scp dtr.tar.gz <user>@<host>:/tmp
$ scp ucp.tar.gz <user>@<host>
```
2. Use ssh to log in to the hosts where you transferred the package.
3. Load the UCP and DTR images.
3. Load the UCP images.
Once the package is transferred to the hosts, you can use the
`docker load` command, to load the Docker images from the tar archive:
```bash
$ docker load < ucp.tar.gz
$ docker load < dtr.tar.gz
```
## Upgrade UCP