Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
#!/bin/bash -xe
yum update -y
yum install -y git
curl -s https://get.docker.com | sh
service docker start
chkconfig docker on
pip install -U docker-compose
chmod +x /usr/local/bin/docker-compose # workaround for issue
mkdir /opt/docker.d
cd /opt/docker.d
for p in $@; do
git clone $p
done
for p in $(ls); do
pushd $p
/usr/local/bin/docker-compose up -d
popd
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.