Add example usage

This commit is contained in:
Maria Bermudez 2018-12-10 10:59:54 -08:00
parent 377bd94bf6
commit f8ec113f4b
2 changed files with 18 additions and 3 deletions

View File

@ -4,7 +4,16 @@ description: Add a new replica to an existing DTR cluster
keywords: dtr, cli, join
---
Add a new replica to an existing DTR cluster
Add a new replica to an existing DTR cluster. Use SSH to log into any node that is already part of UCP.
## Usage
```bash
docker run -it --rm \
docker/dtr:2.5.6 join \
--ucp-node <ucp-node-name> \
--ucp-insecure-tls
```

View File

@ -4,13 +4,19 @@ description: Add a new replica to an existing DTR cluster
keywords: dtr, cli, join
---
Add a new replica to an existing DTR cluster
Add a new replica to an existing DTR cluster. Use SSH to log into any node that is already part of UCP.
## Usage
```bash
docker run -it --rm \
docker/dtr:2.6.0 join \
--ucp-node <ucp-node-name> \
--ucp-insecure-tls
```
## Description
This command creates a replica of an existing DTR on a node managed by
Docker Universal Control Plane (UCP).