Merge pull request #16229 from icecrime/discovery

Add builtin nodes discovery
This commit is contained in:
Andrea Luzzardi
2015-09-27 18:06:27 -07:00
48 changed files with 6933 additions and 6 deletions
@@ -1821,6 +1821,7 @@ Display system-wide information
"CpuCfsPeriod": true,
"CpuCfsQuota": true,
"Debug": false,
"DiscoveryBackend": "etcd://localhost:2379",
"DockerRootDir": "/var/lib/docker",
"Driver": "btrfs",
"DriverStatus": [[""]],
+8
View File
@@ -22,6 +22,8 @@ weight=1
-D, --debug=false Enable debug mode
--default-gateway="" Container default gateway IPv4 address
--default-gateway-v6="" Container default gateway IPv6 address
--cluster-store="" URL of the distributed storage backend
--cluster-advertise="" Address of the daemon instance to advertise
--dns=[] DNS server to use
--dns-opt=[] DNS options to use
--dns-search=[] DNS search domains to use
@@ -484,6 +486,12 @@ Be careful setting `nproc` with the `ulimit` flag as `nproc` is designed by Linu
set the maximum number of processes available to a user, not to a container. For details
please check the [run](run.md) reference.
## Nodes discovery
`--cluster-advertise` specifies the 'host:port' combination that this particular
daemon instance should use when advertising itself to the cluster. The daemon
should be reachable by remote hosts on this 'host:port' combination.
## Miscellaneous options
IP masquerading uses address translation to allow containers without a public