The following commands will download docker-compose 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-compose 1.5.0 :
# install docker-compose curl -L https://github.com/docker/compose/releases/download/1.5.0/docker-compose-`uname -s`-`uname -m` | \ sudo tee /usr/local/bin/docker-compose > /dev/null && \ sudo chmod +x /usr/local/bin/docker-compose
No comments:
Post a Comment