Merge pull request #7953 from billgrant/patch-1

unknown flag: --join
This commit is contained in:
Maria Bermudez 2019-01-02 10:57:33 -08:00 committed by GitHub
commit 52e3cc35c6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -88,7 +88,7 @@ and will be connected together using an overlay network called `ingress`.
the `--advertise-addr` flag is optional.
```bash
$ docker swarm --join --token <TOKEN> \
$ docker swarm join --token <TOKEN> \
--advertise-addr <IP-ADDRESS-OF-WORKER-1> \
<IP-ADDRESS-OF-MANAGER>:2377
```
@ -97,7 +97,7 @@ and will be connected together using an overlay network called `ingress`.
the `--advertise-addr` flag is optional.
```bash
$ docker swarm --join --token <TOKEN> \
$ docker swarm join --token <TOKEN> \
--advertise-addr <IP-ADDRESS-OF-WORKER-2> \
<IP-ADDRESS-OF-MANAGER>:2377
```