How to Install Docker on CentOS 7 Version

Hello Guys, here’s the steps:

Suppose we’re running it as root.

yum install -y yum-utils device-mapper-persistent-data lvm2
yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
yum update
yum install docker
systemctl start docker
systemctl enable docker
systemctl status docker

That’s it, quite simple right?

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.