Created
September 17, 2019 18:07
-
-
Save bluebrown/d76597ae57d3348af227d117c14fd4c2 to your computer and use it in GitHub Desktop.
Linode docker-compose stack script
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 | |
yum update -y | |
yum install -y git yum-utils device-mapper-persistent-data lvm2 httpd-tools | |
yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo | |
yum install -y docker-ce docker-ce-cli containerd.io | |
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py | |
python get-pip.py && rm -f $PWD/get-pip.py | |
pip install docker-compose | |
systemctl start docker && systemctl enable docker |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment