From 4e6e046035538c61e8d4cf721249d4fb14b7482a Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Tue, 9 Aug 2016 15:24:43 +0200 Subject: [PATCH] Merge pull request #25532 from thaJeztah/docs-update-node-inspect-output Update example output for node inspect (cherry picked from commit 80c49d1e5206eabf314069c262f7f643adf021e1) Signed-off-by: Sven Dowideit (cherry picked from commit adf552821a35361b5c975189d6fd5c26f700e86a) Signed-off-by: Tibor Vass --- docs/reference/commandline/node_inspect.md | 1 + docs/swarm/manage-nodes.md | 29 +++++++++++----------- 2 files changed, 16 insertions(+), 14 deletions(-) diff --git a/docs/reference/commandline/node_inspect.md b/docs/reference/commandline/node_inspect.md index 65429bd3e4..d8e379bd89 100644 --- a/docs/reference/commandline/node_inspect.md +++ b/docs/reference/commandline/node_inspect.md @@ -101,6 +101,7 @@ Example output: $ docker node inspect --pretty self ID: e216jshn25ckzbvmwlnh5jr3g Hostname: swarm-manager + Joined at: 2016-06-16 22:52:44.9910662 +0000 utc Status: State: Ready Availability: Active diff --git a/docs/swarm/manage-nodes.md b/docs/swarm/manage-nodes.md index 673b7587a4..431afba7d7 100644 --- a/docs/swarm/manage-nodes.md +++ b/docs/swarm/manage-nodes.md @@ -69,25 +69,26 @@ pass the `--pretty` flag to print the results in human-readable format. For exam ```bash docker node inspect self --pretty -ID: ehkv3bcimagdese79dn78otj5 -Hostname: node-1 +ID: ehkv3bcimagdese79dn78otj5 +Hostname: node-1 +Joined at: 2016-06-16 22:52:44.9910662 +0000 utc Status: - State: Ready - Availability: Active + State: Ready + Availability: Active Manager Status: - Address: 172.17.0.2:2377 - Raft Status: Reachable - Leader: Yes + Address: 172.17.0.2:2377 + Raft Status: Reachable + Leader: Yes Platform: - Operating System: linux - Architecture: x86_64 + Operating System: linux + Architecture: x86_64 Resources: - CPUs: 2 - Memory: 1.954 GiB + CPUs: 2 + Memory: 1.954 GiB Plugins: - Network: overlay, host, bridge, overlay, null - Volume: local -Engine Version: 1.12.0-dev + Network: overlay, host, bridge, overlay, null + Volume: local +Engine Version: 1.12.0-dev ``` ## Update a node