Merge pull request #7835 from bermudezmt/dtr-cli-join

Add example usage
This commit is contained in:
L-Hudson 2018-12-10 15:00:44 -05:00 committed by GitHub
commit cd6a6a067f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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).