The following commands will download docker-machine and install it in /usr/local/bin at each image start.
Once again, we will modify the /var/lib/boot2docker/bootlocal.sh file :
sudo vi /var/lib/boot2docker/bootlocal.shWe add the following commands to automatically install docker-machine 0.5.2 :
# install docker machine curl -L https://github.com/docker/machine/releases/download/v0.5.2/docker-machine_linux-amd64.zip > machine.zip && \ unzip machine.zip && \ rm -f machine.zip && \ sudo mv -f docker-machine* /usr/local/bin
No comments:
Post a Comment