Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
#!/bin/bash -xe
DEBIAN_FRONTEND=noninteractive apt-get update && apt-get upgrade -y && apt-get -y install git python python-pip
curl -s https://get.docker.com | sh
service docker start
pip install -U docker-compose
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
/usr/local/bin/docker-compose ps
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.