Skip to content

Instantly share code, notes, and snippets.

@Bodge-IT
Created March 21, 2018 21:33
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
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