Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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