1.docker安装
参考:https://docs.docker.com/engine/install/centos/
步骤:sudo yum install docker-ce docker-ce-cli containerd.io
2.配置阿里云国内容器镜像服务
参考:https://cr.console.aliyun.com/cn-hangzhou/instances/mirrors
需要自己注册阿里云
3.docker --version docker --info查看安装是否成功。查看阿里云容器服务是否配置成功。
4.运行hello-world
docker run hello-world
5.docker运行原理