💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
--- **安装环境** ``` CentOS 8.2 ``` **安装所需依赖** ``` dnf install -y yum-utils device-mapper-persistent-data lvm2 ``` **切换阿里镜像源** ``` yum-config-manager --add-repo http://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo ``` 注: 可以选择其他镜像源 * 官方镜像 `https://download.docker.com/linux/centos/docker-ce.repo` * 清华镜像 `https://mirrors.tuna.tsinghua.edu.cn/docker-ce/linux/centos/docker-ce.repo` **执行安装** ``` dnf install docker-ce docker-ce-cli containerd.io ``` 要安装特定版本的 Docker Engine-Community,请在存储库中列出可用版本,然后选择并安装 ``` dnf list docker-ce --showduplicates | sort -r dnf install docker-ce-<VERSION_STRING> docker-ce-cli-<VERSION_STRING> containerd.io ``` **启动 | 停止 | 重启 | 开机自启 docker** ``` systemctl start | stop | restart | enable docker ```