Created
June 21, 2016 18:50
-
-
Save crunchywelch/5e9da9b462f19679fa072723a583a0dd to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
echo "deb https://apt.dockerproject.org/repo ubuntu-trusty main" > /etc/apt/sources.list.d/docker.list && \ | |
echo "deb https://clusterhq-archive.s3.amazonaws.com/ubuntu/14.04/$(ARCH)" > /etc/apt/sources.list.d/flocker.list && \ | |
apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys F76221572C52609D && \ | |
apt-get update && \ | |
apt-get -y install --force-yes docker-engine clusterhq-flocker-node clusterhq-flocker-docker-plugin && \ | |
service flocker-control start && ufw allow flocker-control-api && ufw allow flocker-control-agent |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment