swarm_inspect
Retrieve the Docker swarm's ID, spec, join-token configuration, and CA details. Identify cluster-level settings to fix configuration issues.
Instructions
Inspect the swarm this daemon belongs to (id, spec, join-token config, CA info).
Works on a manager node only. Cluster-level configuration — for per-node state use
node_list; for the tokens new nodes need, swarm_join_tokens.
returns: dict - The swarm's attrs, as returned by the daemon's swarm inspect endpoint
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||