Skip to content

Instantly share code, notes, and snippets.

@jhmartin
Created August 25, 2016 18:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jhmartin/44dc673a3c57ffa8ede8388f0f9850dd to your computer and use it in GitHub Desktop.
Save jhmartin/44dc673a3c57ffa8ede8388f0f9850dd to your computer and use it in GitHub Desktop.
Docker Swarm Node Filter
To search the node api, filtering by role:manager
http://127.0.0.1:2375/nodes?filters=%7B%22role%22%3A%5B%22manager%22%5D%7D
Filters= is the URLEncoded version of {"role":["manager"]}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment