mirror of https://github.com/docker/docs.git
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:
parent
1d008a7ddd
commit
e4edd0bb88
|
|
@ -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.
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue