Skip to content

Commit

Permalink
README: Fix port binding in example.
Browse files Browse the repository at this point in the history
Signed-off-by: Andrea Luzzardi <[email protected]>
  • Loading branch information
aluzzardi committed Feb 12, 2015
1 parent 0bc7230 commit 9f0d616
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ $ docker run --rm swarm create
$ docker run -d swarm join --addr=<node_ip:2375> token://<cluster_id>

# start the manager on any machine or your laptop
$ docker run -t -p 2375:<swarm_port> -t swarm manage token://<cluster_id>
$ docker run -t -p <swarm_port>:2375 -t swarm manage token://<cluster_id>

# use the regular docker cli
$ docker -H tcp://<swarm_ip:swarm_port> info
Expand Down
2 changes: 1 addition & 1 deletion userguide.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ $ docker run --rm swarm create
$ docker run -d swarm join --addr=<node_ip:2375> token://<cluster_id>

# start the manager on any machine or your laptop
$ docker run -t -p 2375:<swarm_port> -t swarm manage token://<cluster_id>
$ docker run -t -p <swarm_port>:2375 -t swarm manage token://<cluster_id>

# use the regular docker cli
$ docker -H tcp://<swarm_ip:swarm_port> info
Expand Down

0 comments on commit 9f0d616

Please sign in to comment.