documentation: fix some documentation typos

Signed-off-by: Thomas Meson <zllak@hycik.org>
This commit is contained in:
Thomas Meson 2014-12-29 10:35:18 +01:00
parent a58043d354
commit a66d0fa684
1 changed files with 10 additions and 10 deletions

View File

@ -61,10 +61,10 @@ http://<node_ip:2375>
# on each of your nodes, start the swarm agent # on each of your nodes, start the swarm agent
# <node_ip> doesn't have to be public (eg. 192.168.0.X), # <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. # 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 # 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 # use the regular docker cli
$ docker -H <swarm_ip:swarm_port> info $ docker -H <swarm_ip:swarm_port> info
@ -74,7 +74,7 @@ $ docker -H <swarm_ip:swarm_port> logs ...
... ...
# list nodes in your cluster # list nodes in your cluster
$ swarm list --discovery etcd://<etcd_ip>/>path> $ swarm list --discovery etcd://<etcd_ip>/<path>
http://<node_ip:2375> http://<node_ip:2375>
``` ```
@ -93,7 +93,7 @@ type DiscoveryService interface {
``` ```
######Initialize ######Initialize
take the `--dicovery` withtout the scheme and a heartbeat (in seconds) take the `--discovery` without the scheme and a heartbeat (in seconds)
######Fetch ######Fetch
returns the list of all the nodes from the discovery returns the list of all the nodes from the discovery