mirror of https://github.com/docker/docs.git
documentation: fix some documentation typos
Signed-off-by: Thomas Meson <zllak@hycik.org>
This commit is contained in:
parent
a58043d354
commit
a66d0fa684
|
@ -61,10 +61,10 @@ http://<node_ip:2375>
|
|||
# on each of your nodes, start the swarm agent
|
||||
# <node_ip> doesn't have to be public (eg. 192.168.0.X),
|
||||
# as long as the other nodes can reach it, it is fine.
|
||||
$ swarm join --discovery etcd://<etcd_ip>/>path> --addr=<node_ip:2375>
|
||||
$ swarm join --discovery etcd://<etcd_ip>/<path> --addr=<node_ip:2375>
|
||||
|
||||
# start the manager on any machine or your laptop
|
||||
$ swarm manage --discovery etcd://<etcd_ip>/>path> -H=<swarm_ip:swarm_port>
|
||||
$ swarm manage --discovery etcd://<etcd_ip>/<path> -H=<swarm_ip:swarm_port>
|
||||
|
||||
# use the regular docker cli
|
||||
$ docker -H <swarm_ip:swarm_port> info
|
||||
|
@ -74,7 +74,7 @@ $ docker -H <swarm_ip:swarm_port> logs ...
|
|||
...
|
||||
|
||||
# list nodes in your cluster
|
||||
$ swarm list --discovery etcd://<etcd_ip>/>path>
|
||||
$ swarm list --discovery etcd://<etcd_ip>/<path>
|
||||
http://<node_ip:2375>
|
||||
```
|
||||
|
||||
|
@ -93,7 +93,7 @@ type DiscoveryService interface {
|
|||
```
|
||||
|
||||
######Initialize
|
||||
take the `--dicovery` withtout the scheme and a heartbeat (in seconds)
|
||||
take the `--discovery` without the scheme and a heartbeat (in seconds)
|
||||
|
||||
######Fetch
|
||||
returns the list of all the nodes from the discovery
|
||||
|
|
Loading…
Reference in New Issue