Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
docker install - centos7
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