centos8安装docker官方文档:https:docs.docker.comengineinstallcentos1.系统环境cat etcredhat-release2.添加镜像源(这里是阿里的镜像源)yum-c