Last active
February 15, 2017 09:07
-
-
Save bitboxx/aff61c4cb06d5a5f1e5b536b62665cac to your computer and use it in GitHub Desktop.
Install Docker on CentOS 7 (and maybe higher)
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
# Copy paste in terminal | |
# Source: https://docs.docker.com/engine/installation/linux/centos/ | |
sudo yum install -y yum-utils makecache fast | |
sudo yum-config-manager \ | |
--add-repo \ | |
https://docs.docker.com/engine/installation/linux/repo_files/centos/docker.repo | |
sudo yum -y install docker-engine | |
sudo systemctl enable docker | |
sudo systemctl start docker | |
# Install Docker compose | |
sudo yum install -y epel-release | |
sudo yum install -y python-pip | |
sudo pip install docker-compose | |
sudo yum upgrade -y python* |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment