Update images for beta2

This commit is contained in:
Joao Fernandes 2017-01-26 15:39:26 -08:00
parent 04b354802f
commit ae9f0299c5
9 changed files with 18 additions and 16 deletions

View File

@ -99,6 +99,7 @@ defaults:
values: values:
ucp_version: "2.1" ucp_version: "2.1"
dtr_version: "2.2" dtr_version: "2.2"
docker_image: "docker/dtr:2.2.0-beta2"
- -
scope: scope:
path: "datacenter/dtr/2.1" path: "datacenter/dtr/2.1"
@ -118,6 +119,7 @@ defaults:
values: values:
ucp_version: "2.1" ucp_version: "2.1"
dtr_version: "2.2" dtr_version: "2.2"
docker_image: "docker/ucp:2.1.0-beta2"
- -
scope: scope:
path: "datacenter/ucp/2.0" path: "datacenter/ucp/2.0"

View File

@ -36,11 +36,11 @@ Run the following command to install DTR:
```none ```none
# Pull the latest version of DTR # Pull the latest version of DTR
$ docker pull docker/dtr:2.2.0-beta1 $ docker pull {{ page.docker_image }}
# Install DTR # Install DTR
$ docker run -it --rm \ $ docker run -it --rm \
docker/dtr:2.2.0-beta1 install \ {{ page.docker_image }} install \
--ucp-node <ucp-node-name> \ --ucp-node <ucp-node-name> \
--ucp-insecure-tls --ucp-insecure-tls
``` ```
@ -110,7 +110,7 @@ To add replicas to a DTR cluster, use the `docker/dtr join` command:
```none ```none
docker run -it --rm \ docker run -it --rm \
docker/dtr:2.2.0-beta1 join \ {{ page.docker_image }} join \
--ucp-node <ucp-node-name> \ --ucp-node <ucp-node-name> \
--ucp-insecure-tls --ucp-insecure-tls
``` ```

View File

@ -26,7 +26,7 @@ To add replicas to an existing DTR deployment:
```none ```none
docker run -it --rm \ docker run -it --rm \
docker/dtr:2.2.0-beta1 join \ {{ page.docker_image }} join \
--ucp-node <ucp-node-name> \ --ucp-node <ucp-node-name> \
--ucp-insecure-tls --ucp-insecure-tls
``` ```
@ -46,7 +46,7 @@ To remove a DTR replica from your deployment:
```none ```none
docker run -it --rm \ docker run -it --rm \
docker/dtr:2.2.0-beta1 remove \ {{ page.docker_image }} remove \
--ucp-insecure-tls --ucp-insecure-tls
``` ```

View File

@ -19,7 +19,7 @@ When your DTR deployment is down to a single replica, you can use the
```none ```none
docker run -it --rm \ docker run -it --rm \
docker/dtr:2.2.0-beta1 destroy \ {{ page.docker_image }} destroy \
--ucp-insecure-tls --ucp-insecure-tls
``` ```

View File

@ -25,7 +25,7 @@ To upgrade DTR, **login with ssh** into a node that's part of the UCP cluster.
Then pull the latest version of DTR: Then pull the latest version of DTR:
```none ```none
$ docker pull docker/dtr:2.2.0-beta1 $ docker pull {{ page.docker_image }}
``` ```
If the node you're upgrading doesn't have access to the internet, you can If the node you're upgrading doesn't have access to the internet, you can
@ -36,7 +36,7 @@ Once you have the latest images on the node, run the upgrade command:
```none ```none
$ docker run -it --rm \ $ docker run -it --rm \
docker/dtr:2.2.0-beta1 upgrade \ {{ page.docker_image }} upgrade \
--ucp-insecure-tls --ucp-insecure-tls
``` ```

View File

@ -40,7 +40,7 @@ The example below shows how to create a backup of a UCP controller node:
# Create a backup, encrypt it, and store it on /tmp/backup.tar # Create a backup, encrypt it, and store it on /tmp/backup.tar
$ docker run --rm -i --name ucp \ $ docker run --rm -i --name ucp \
-v /var/run/docker.sock:/var/run/docker.sock \ -v /var/run/docker.sock:/var/run/docker.sock \
docker/ucp backup --interactive \ {{ page.docker_image }} backup --interactive \
--passphrase "secret" > /tmp/backup.tar --passphrase "secret" > /tmp/backup.tar
# Decrypt the backup and list its contents # Decrypt the backup and list its contents
@ -55,7 +55,7 @@ backup:
```bash ```bash
$ docker run --rm -i --name ucp \ $ docker run --rm -i --name ucp \
-v /var/run/docker.sock:/var/run/docker.sock \ -v /var/run/docker.sock:/var/run/docker.sock \
docker/ucp restore < backup.tar {{ page.docker_image }} restore < backup.tar
``` ```
The restore command may also be invoked in interactive mode: The restore command may also be invoked in interactive mode:
@ -64,7 +64,7 @@ The restore command may also be invoked in interactive mode:
$ docker run --rm -i --name ucp \ $ docker run --rm -i --name ucp \
-v /var/run/docker.sock:/var/run/docker.sock \ -v /var/run/docker.sock:/var/run/docker.sock \
-v /path/to/backup.tar:/config/backup.tar \ -v /path/to/backup.tar:/config/backup.tar \
docker/ucp restore -i {{ page.docker_image }} restore -i
``` ```
## Restore your cluster ## Restore your cluster

View File

@ -61,12 +61,12 @@ To install UCP:
```none ```none
# Pull the latest version of UCP # Pull the latest version of UCP
$ docker pull docker/ucp:2.1.0-beta1 $ docker pull {{ page.docker_image }}
# Install UCP # Install UCP
$ docker run --rm -it --name ucp \ $ docker run --rm -it --name ucp \
-v /var/run/docker.sock:/var/run/docker.sock \ -v /var/run/docker.sock:/var/run/docker.sock \
docker/ucp:2.1.0-beta1 install \ {{ page.docker_image }} install \
--host-address <node-ip-address> \ --host-address <node-ip-address> \
--interactive --interactive
``` ```

View File

@ -25,7 +25,7 @@ To uninstall UCP, log in into a manager node using ssh, and run:
$ docker run --rm -it \ $ docker run --rm -it \
-v /var/run/docker.sock:/var/run/docker.sock \ -v /var/run/docker.sock:/var/run/docker.sock \
--name ucp \ --name ucp \
docker/ucp uninstall-ucp --interactive {{ page.docker_image }} uninstall-ucp --interactive
``` ```
This runs the uninstall command in interactive mode, so that you are prompted This runs the uninstall command in interactive mode, so that you are prompted

View File

@ -54,12 +54,12 @@ To upgrade from the CLI, log into a UCP manager node using ssh, and run:
``` ```
# Get the latest version of UCP # Get the latest version of UCP
$ docker pull docker/ucp:2.1.0-beta1 $ docker pull {{ page.docker_image }}
$ docker run --rm -it \ $ docker run --rm -it \
--name ucp \ --name ucp \
-v /var/run/docker.sock:/var/run/docker.sock \ -v /var/run/docker.sock:/var/run/docker.sock \
docker/ucp:2.1.0-beta1 \ {{ page.docker_image }} \
upgrade --interactive upgrade --interactive
``` ```