Merge branch 'master' of github.com:yeasy/docker-compose-files

pull/16/head
Baohua Yang 2016-09-14 16:58:09 +08:00
commit fd0c327de0
1 changed files with 2 additions and 1 deletions

View File

@ -7,6 +7,7 @@ then
exit exit
fi fi
apt-get update
apt-get install curl -y apt-get install curl -y
@ -14,7 +15,7 @@ wget -qO- https://get.docker.com/ | sh
sudo service docker stop sudo service docker stop
nohup sudo docker daemon --api-cors-header="*" -H tcp://0.0.0.0:2375 -H unix:///var/run/docker.sock& nohup sudo docker daemon --api-cors-header="*" -H tcp://0.0.0.0:2375 -H unix:///var/run/docker.sock&
curl -L https://github.com/docker/compose/releases/download/1.7.1/docker-compose-`uname -s`-`uname -m` > /usr/local/bin/docker-compose curl -L https://github.com/docker/compose/releases/download/1.8.0/docker-compose-`uname -s`-`uname -m` > /usr/local/bin/docker-compose
chmod +x /usr/local/bin/docker-compose chmod +x /usr/local/bin/docker-compose
docker-compose --version docker-compose --version