Skip to content

Instantly share code, notes, and snippets.

@uehara1414
Last active November 1, 2017 12:52
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 uehara1414/79e8faed49dfa477d4fbfb9901f5492d to your computer and use it in GitHub Desktop.
Save uehara1414/79e8faed49dfa477d4fbfb9901f5492d to your computer and use it in GitHub Desktop.
install docker and docker-compose to centos7
sudo yum update -y
curl -sSL https://get.docker.com/ | sh
sudo systemctl enable docker
sudo systemctl start docker
sudo curl -L https://github.com/docker/compose/releases/download/1.16.1/docker-compose-`uname -s`-`uname -m` -o /bin/docker-compose
sudo chmod +x /bin/docker-compose
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment