Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- #Get IP from nodes. @jbovet
- docker node ls --format "{{.Hostname}}" | while read line ; do docker node inspect $line --format '{{ .Status.Addr }} - {{.Description.Hostname}}'; done
Add Comment
Please, Sign In to add comment