docs additions

- add the unix socket, the default of the docker client
 - partially resolves #804

Signed-off-by: Morgan Bauer <mbauer@us.ibm.com>
This commit is contained in:
Morgan Bauer 2015-10-12 16:05:00 -07:00
parent 1d008a7ddd
commit e4edd0bb88
No known key found for this signature in database
GPG Key ID: 23F15C502128F348
1 changed files with 5 additions and 2 deletions

View File

@ -53,9 +53,12 @@ Docker daemon, monitors it, and updates the discovery backend with the node's st
This example uses the Docker Hub based `token` discovery service. Log into **each node** and do the following.
1. Start the Docker daemon with the `-H` flag. This ensures that the Docker remote API on *Swarm Agents* is available over TCP for the *Swarm Manager*.
1. Start the Docker daemon with the `-H` flag. This ensures that the
Docker remote API on *Swarm Agents* is available over TCP for the
*Swarm Manager*, as well as the standard unix socket which is
available in default docker installs.
$ docker daemon -H tcp://0.0.0.0:2375
$ docker daemon -H tcp://0.0.0.0:2375 -H unix:///var/run/docker.sock
> **Note**: versions of docker prior to 1.8 used the `-d` flag instead of the `docker daemon` subcommand.