CentOS 安装 Docker+ Aliyun 镜像

 

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

 

 

 

 

文章转载:https://blog.csdn.net/weixin_43813139/article/details/112248063

 

posted @ 2022-10-22 15:39  逊老头  阅读(194)  评论(0编辑  收藏  举报