linux docker安装
1、安装命令包:yum install -y yum-utils device-mapper-persistent-data lvm2
2、yum-config-manager --add-repo http://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo
3、yum install docker-ce
启动docker:systemctl start docker
测试命令:docker run hello-world
查看版本:docker -version
本文来自博客园,作者:Rolay,转载请注明原文链接:https://www.cnblogs.com/rolayblog/p/11003589.html