mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Update example output for node inspect
commit 41d580c7a6
added
"Joined at" to the output of node inspect,
but I forgot that docs changes are needed.
This change updates the example output
of node inspect in the documentation.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
41d580c7a6
commit
dcb052c12b
2 changed files with 16 additions and 14 deletions
|
@ -99,6 +99,7 @@ Example output:
|
||||||
$ docker node inspect --pretty self
|
$ docker node inspect --pretty self
|
||||||
ID: e216jshn25ckzbvmwlnh5jr3g
|
ID: e216jshn25ckzbvmwlnh5jr3g
|
||||||
Hostname: swarm-manager
|
Hostname: swarm-manager
|
||||||
|
Joined at: 2016-06-16 22:52:44.9910662 +0000 utc
|
||||||
Status:
|
Status:
|
||||||
State: Ready
|
State: Ready
|
||||||
Availability: Active
|
Availability: Active
|
||||||
|
|
|
@ -69,25 +69,26 @@ pass the `--pretty` flag to print the results in human-readable format. For exam
|
||||||
```bash
|
```bash
|
||||||
docker node inspect self --pretty
|
docker node inspect self --pretty
|
||||||
|
|
||||||
ID: ehkv3bcimagdese79dn78otj5
|
ID: ehkv3bcimagdese79dn78otj5
|
||||||
Hostname: node-1
|
Hostname: node-1
|
||||||
|
Joined at: 2016-06-16 22:52:44.9910662 +0000 utc
|
||||||
Status:
|
Status:
|
||||||
State: Ready
|
State: Ready
|
||||||
Availability: Active
|
Availability: Active
|
||||||
Manager Status:
|
Manager Status:
|
||||||
Address: 172.17.0.2:2377
|
Address: 172.17.0.2:2377
|
||||||
Raft Status: Reachable
|
Raft Status: Reachable
|
||||||
Leader: Yes
|
Leader: Yes
|
||||||
Platform:
|
Platform:
|
||||||
Operating System: linux
|
Operating System: linux
|
||||||
Architecture: x86_64
|
Architecture: x86_64
|
||||||
Resources:
|
Resources:
|
||||||
CPUs: 2
|
CPUs: 2
|
||||||
Memory: 1.954 GiB
|
Memory: 1.954 GiB
|
||||||
Plugins:
|
Plugins:
|
||||||
Network: overlay, host, bridge, overlay, null
|
Network: overlay, host, bridge, overlay, null
|
||||||
Volume: local
|
Volume: local
|
||||||
Engine Version: 1.12.0-dev
|
Engine Version: 1.12.0-dev
|
||||||
```
|
```
|
||||||
|
|
||||||
## Update a node
|
## Update a node
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue