该教程仅将 Rancher 作为本地 docker 引擎使用,以支持 docker 容器的相关应用。
一、Rancher 安装
下载 Rencher Desktop:官网地址 / 百度网盘
![](https://img-blog.csdnimg.cn/img_convert/788736e4589d4c2252721e8ced4998f2.png)
1. 安装 Rancher Desktop
![](https://img-blog.csdnimg.cn/img_convert/1014c1a4e2955858802134fd1b8d1329.png)
![](https://img-blog.csdnimg.cn/img_convert/6c097304701a50ac5c2417e74acab427.png)
![](https://img-blog.csdnimg.cn/img_convert/562a7476c5a8d73eac5e6a1b4bb73751.png)
![](https://img-blog.csdnimg.cn/img_convert/7f132bd4ca8fdd65fc9f45069c5a202f.png)
![](https://img-blog.csdnimg.cn/img_convert/6771eb79e20b287c57c68979bddacfd0.png)
![](https://img-blog.csdnimg.cn/img_convert/b76196d2e1e0bea8569b0949743d258f.png)
![](https://img-blog.csdnimg.cn/img_convert/f79d5b99b5605ab34e616eb7398f827d.png)
注:如果 WSL 安装失败,请检查本机BIOS的虚拟化设置是否开启。
二、配置 Rancher Desktop
电脑重启后双击桌面上的 Rancher Desktop 运行程序进行初始化配置。
![](https://img-blog.csdnimg.cn/img_convert/bcc7f287895b4ee54c8bcb90f870bd87.png)
![](https://img-blog.csdnimg.cn/img_convert/9df89e7050a2106c48c509314ad88082.png)
![](https://img-blog.csdnimg.cn/img_convert/e59616e2e44003ee516945ec3a158646.png)
![](https://img-blog.csdnimg.cn/img_convert/710d8ee3af68eaf1135ef9c416be9582.png)
至此完成 Rancher Desktop 初次使用配置。
三、使用 Rancher Desktop
(一)启动
![](https://img-blog.csdnimg.cn/img_convert/bcc7f287895b4ee54c8bcb90f870bd87.png)
![](https://img-blog.csdnimg.cn/img_convert/e59616e2e44003ee516945ec3a158646.png)
![](https://img-blog.csdnimg.cn/img_convert/710d8ee3af68eaf1135ef9c416be9582.png)
![](https://img-blog.csdnimg.cn/img_convert/323c1fb4c6f17919e4e305b046d328c0.png)
![](https://img-blog.csdnimg.cn/img_convert/9f2a48cffd0b8da719db1102e1aced39.png)
![](https://img-blog.csdnimg.cn/img_convert/e817905636579880589d3aff2a2a6f65.png)
![](https://img-blog.csdnimg.cn/img_convert/b1831aa3f8ba57c383fbaadc9c19f59b.png)