opened 05:36AM - 21 Oct 23 UTC
closed 02:35PM - 21 Oct 23 UTC
### 联系方式
_No response_
### 1Panel 版本
无(一键脚本安装)
### 问题描述
今日购买了一个阿里云centos8.2…的轻量云服务器,使用github上的一键安装脚本,猜测是轻量云的系统软件源问题,导致docker安装失败
![image](https://github.com/1Panel-dev/1Panel/assets/58934228/23e426c6-aa11-4ab9-80c3-e30648aa1dd1)
### 重现步骤
阿里云轻量应用服务器centos8.2版本,直接使用一键安装脚本
### 期待的正确结果
集成一个国内通用的源文件,不依赖系统的源
### 相关日志输出
```shell
[root@iZ2vcb42d2up0xxpwwxcurZ /]# curl -sSL https://resource.fit2cloud.com/1panel/package/quick_start.sh -o quick_start.sh && sudo bash quick_start.sh
开始下载 1Panel v1.7.1 版本在线安装包
安装包下载地址: https://resource.fit2cloud.com/1panel/package/stable/v1.7.1/release/1panel-v1.7.1-linux-amd64.tar.gz
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 39.2M 100 39.2M 0 0 16.4M 0 0:00:02 0:00:02 --:--:-- 16.4M
1panel-v1.7.1-linux-amd64/1panel.service
1panel-v1.7.1-linux-amd64/1pctl
1panel-v1.7.1-linux-amd64/LICENSE
1panel-v1.7.1-linux-amd64/README.md
1panel-v1.7.1-linux-amd64/install.sh
1panel-v1.7.1-linux-amd64/1panel
??? ??????? ?????? ???? ??????????????
???? ????????????????????? ??????????????
???? ?????????????????????? ????????? ???
??? ??????? ???????????????????????? ???
??? ??? ??? ?????? ??????????????????????
??? ??? ??? ?????? ?????????????????????
[1Panel Log]: ======================= 开始安装 =======================
设置 1Panel 安装目录(默认为/opt):
[1Panel Log]: 您选择的安装路径为 /opt
[1Panel Log]: ... 在线安装 docker
# Executing docker install script, commit: e5543d473431b782227f8908005543bb4389b8de
+ sh -c 'yum install -y -q yum-utils'
Invalid configuration value: failovermethod=priority in /etc/yum.repos.d/CentOS-epel.repo; Configuration: OptionBinding with id "failovermethod" does not exist
Error: Failed to download metadata for repo 'appstream': Cannot prepare internal mirrorlist: No URLs in mirrorlist
[1Panel Log]: ... 启动 docker
Failed to enable unit: Unit file docker.service does not exist.
Failed to start docker.service: Unit docker.service not found.
[1Panel Log]: docker 安装失败
```
### 附加信息
_No response_