You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
\ Active Leader\n```\n\n#### role\n\nThe `role` filter matches nodes based
on the presence of a `role` and a value `worker` or `manager`.\n\nThe following
filter matches nodes with the `manager` role.\n\n```bash\n$ docker node ls -f \"role=manager\"\n\nID
\ HOSTNAME STATUS AVAILABILITY MANAGER STATUS\ne216jshn25ckzbvmwlnh5jr3g
* swarm-manager1 Ready Active Leader\n```\n\n### Formatting\n\nThe formatting
options (`--format`) pretty-prints nodes output\nusing a Go template.\n\nValid placeholders
for the Go template are listed below:\n\nPlaceholder | Description\n-----------------|------------------------------------------------------------------------------------------\n`.ID`
\ | Node ID\n`.Self` | Node of the daemon (`true/false`, `true`indicates
that the node is the same as current docker daemon)\n`.Hostname` | Node hostname\n`.Status`