Docker system requirements CentOS kernel version higher than 3.10, see this page prerequisite to verify your CentOS version supports Docker.
View your current kernel version uname -r command through
on how to improve the core https://mp.csdn.net/mdeditor/89635516# I wrote in another article
to install the necessary system tools:
sudo yum install -y yum-utils device -mapper-persistent-data lvm2
add the software source information:
yum-config-Manager sudo --add-repo http://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo
update yum cache:
sudo yum makecache fast
installation Docker-ce:
sudo yum -y install docker-ce
started Docker background service
sudo systemctl start docker