Created
August 25, 2016 18:21
-
-
Save jhmartin/44dc673a3c57ffa8ede8388f0f9850dd to your computer and use it in GitHub Desktop.
Docker Swarm Node Filter
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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