Skip to content

Instantly share code, notes, and snippets.

@m-wendler
Last active March 26, 2016 08:38
Show Gist options
  • Save m-wendler/61873a94024df4a00b1c to your computer and use it in GitHub Desktop.
Save m-wendler/61873a94024df4a00b1c to your computer and use it in GitHub Desktop.
create several docker hosts in one go
# create 3 docker hosts on virtualbox
for N in 1 2 3; do
docker-machine create -d virtualbox node-$N;
done
# OR: one-liner:
for N in 1 2 3; do docker-machine create -d virtualbox node-$N; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment