Skip to content

Instantly share code, notes, and snippets.

#!/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