Skip to content

Instantly share code, notes, and snippets.

@arsham
Created January 10, 2019 17:18
Show Gist options
  • Save arsham/1c4e0291a52a413c4a5135c3923c819b to your computer and use it in GitHub Desktop.
Save arsham/1c4e0291a52a413c4a5135c3923c819b to your computer and use it in GitHub Desktop.
Reload #docker daemon on #docker-machine
for i in `seq 1 10`;
do docker-machine ssh vm$i sudo /etc/init.d/docker restart
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment