Skip to content

Instantly share code, notes, and snippets.

@Bodge-IT
Created March 21, 2018 21:33
Show Gist options
  • Save Bodge-IT/c8c0939f44044f2145517bfc020c02b6 to your computer and use it in GitHub Desktop.
Save Bodge-IT/c8c0939f44044f2145517bfc020c02b6 to your computer and use it in GitHub Desktop.
Batch task
Using for loop
for host in docker1 docker2 docker3 docker4; do ssh pi@$host curl -sSL https://get.docker.com | sh; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment