Created
July 1, 2016 05:08
-
-
Save eyasuyuki/95740e8228a5319198117925e2dd3ced to your computer and use it in GitHub Desktop.
This file contains hidden or 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/sh | |
if [ -z "$1" ]; then | |
echo "$0 <vm name>" | |
exit -1 | |
fi | |
docker-machine ssh $1 -- tce-load -wi python.tcz | |
docker-machine ssh $1 -- sudo ln -s /usr/local/bin/python /usr/bin/python | |
docker-machine ssh $1 -- 'curl https://bootstrap.pypa.io/get-pip.py | sudo python -' | |
docker-machine ssh $1 -- sudo pip install docker-py |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment