diff --git a/datacenter/dtr/2.5/reference/cli/join.md b/datacenter/dtr/2.5/reference/cli/join.md index 80373de3e2..8b569affaf 100644 --- a/datacenter/dtr/2.5/reference/cli/join.md +++ b/datacenter/dtr/2.5/reference/cli/join.md @@ -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-insecure-tls +``` diff --git a/reference/dtr/2.6/cli/join.md b/reference/dtr/2.6/cli/join.md index 80373de3e2..d518a58877 100644 --- a/reference/dtr/2.6/cli/join.md +++ b/reference/dtr/2.6/cli/join.md @@ -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-insecure-tls +``` ## Description - This command creates a replica of an existing DTR on a node managed by Docker Universal Control Plane (UCP).