mirror of https://github.com/docker/cli.git
added node ip autodetection
Manager now auto-detects the address that an agent connects to the cluster from and stores it. This is useful for many kinds of internal cluster management tools. Signed-off-by: Drew Erny <drew.erny@docker.com>
This commit is contained in:
parent
0e7bbb55c8
commit
194bb052dc
|
@ -88,7 +88,8 @@ Example output:
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"Status": {
|
"Status": {
|
||||||
"State": "ready"
|
"State": "ready",
|
||||||
|
"Addr": "168.0.32.137"
|
||||||
},
|
},
|
||||||
"ManagerStatus": {
|
"ManagerStatus": {
|
||||||
"Leader": true,
|
"Leader": true,
|
||||||
|
@ -110,6 +111,7 @@ Example output:
|
||||||
Status:
|
Status:
|
||||||
State: Ready
|
State: Ready
|
||||||
Availability: Active
|
Availability: Active
|
||||||
|
Address: 172.17.0.2
|
||||||
Manager Status:
|
Manager Status:
|
||||||
Address: 172.17.0.2:2377
|
Address: 172.17.0.2:2377
|
||||||
Raft Status: Reachable
|
Raft Status: Reachable
|
||||||
|
|
Loading…
Reference in New Issue