Installing docker and docker-compose on CentOS 7
1 min readJun 20, 2020
Most of the content in this article is from a great article by Sofija Simic on phoenixnap. I’ll be keeping this short, so please head over there if you would like more details about some of these steps.
Open the you terminal and run the following commands
Update packages:
sudo yum check-update
Install Dependencies:
sudo yum install -y yum-utils device-mapper-persistent-data lvm2
Add the Docker Repository:
sudo yum-config-manager — add-repo https://download.docker.com/linux/centos/docker-ce.repo
Install Docker:
sudo yum install docker
Install Docker Compose:
sudo yum install docker-compose