Last active
February 12, 2018 05:52
-
-
Save FirefoxMetzger/687419dd4c6223b2247c3c5e3335401c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
docker-machine scp -r . myRegistry:~ | |
docker-machine ssh myRegistry docker load -i registry.tar | |
docker-machine ssh myRegistry sudo cp -r certs /var/lib/boot2docker | |
docker-machine ssh myRegistry docker stack deploy --compose-file=docker-compose.yml registry |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment