mirror of
https://github.com/moby/moby.git
synced 2026-08-08 09:01:44 +00:00
Formatting changes to make 1.12.x ref docs buildable in Jekyll
Signed-off-by: Misty Stanley-Jones <misty@docker.com>
This commit is contained in:
@@ -1,17 +1,14 @@
|
||||
<!--[metadata]>
|
||||
+++
|
||||
title = "node inspect"
|
||||
description = "The node inspect command description and usage"
|
||||
keywords = ["node, inspect"]
|
||||
[menu.main]
|
||||
parent = "smn_cli"
|
||||
+++
|
||||
<![end-metadata]-->
|
||||
---
|
||||
redirect_from:
|
||||
- /reference/commandline/node_inspect/
|
||||
description: The node inspect command description and usage
|
||||
keywords:
|
||||
- node, inspect
|
||||
title: docker node inspect
|
||||
---
|
||||
|
||||
**Warning:** this command is part of the Swarm management feature introduced in Docker 1.12, and might be subject to non backward-compatible changes.
|
||||
|
||||
# node inspect
|
||||
|
||||
```markdown
|
||||
Usage: docker node inspect [OPTIONS] self|NODE [NODE...]
|
||||
|
||||
@@ -95,8 +92,10 @@ Example output:
|
||||
}
|
||||
]
|
||||
|
||||
{% raw %}
|
||||
$ docker node inspect --format '{{ .ManagerStatus.Leader }}' self
|
||||
false
|
||||
{% endraw %}
|
||||
|
||||
$ docker node inspect --pretty self
|
||||
ID: e216jshn25ckzbvmwlnh5jr3g
|
||||
|
||||
Reference in New Issue
Block a user