Skip to content

Instantly share code, notes, and snippets.

@bluebrown
Created September 17, 2019 18:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bluebrown/d76597ae57d3348af227d117c14fd4c2 to your computer and use it in GitHub Desktop.
Save bluebrown/d76597ae57d3348af227d117c14fd4c2 to your computer and use it in GitHub Desktop.
Linode docker-compose stack script
#!/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