Created
January 20, 2019 00:48
-
-
Save vilaca/e40d4a2c3b2122a04969c7f645dc16b5 to your computer and use it in GitHub Desktop.
docker install - centos7
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
sudo yum install -y yum-utils device-mapper-persistent-data lvm2 | |
sudo yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo | |
sudo yum install docker-ce | |
sudo usermod -aG docker $(whoami) | |
sudo systemctl enable docker.service | |
sudo systemctl start docker.service | |
sudo yum install epel-release | |
sudo yum install -y python-pip | |
sudo pip install docker-compose | |
pip install --upgrade pip | |
sudo yum upgrade python* |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment