1.使用一键安装命令
curl -fsSL https://get.docker.com | bash -s docker --mirror Aliyun
2.配置阿里云镜像,进入网站
https://cr.console.aliyun.com/cn-hangzhou/instances/mirrors
选择支付宝或淘宝登录,复制下来如图所示的代码,执行
3.运行helloworld测试是否剖安装成功(如图所示成功)
docker run hello-world
相关文章
vmware Workstation player安装centos
centos安装jdk并运行一个springboot项目
centos安装docker并配置阿里云镜像
docker配置mysql并使用Navicat连接
docker配置tomcat并运行一个web项目