宝塔用户_fbnrmm 发表于 2025-5-16 11:46:04

【已解答】docker安装失败

为了能快速了解并处理您的问题,请提供以下基础信息:面板、插件版本:9.5.0
系统版本:Ubuntu-24.04.1-x64
问题描述:安装失败,文件不存在:/usr/bin/docker-compose
相关截图(日志、错误):

阿珂 发表于 2025-5-16 15:42:13

更换一下安装源,重试
或尝试下面手动安装方式:
Ubuntu
1、删除之前安装的docker
apt-get remove docker docker-engine docker.io
2、安装依赖
apt-get install apt-transport-https ca-certificates curl gnupg2 software-properties-common
3、添加信任的依赖
Ubuntu:
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
4、添加软件仓库
Ubuntu:
add-apt-repository \
   "deb https://mirrors.tuna.tsinghua.edu.cn/docker-ce/linux/ubuntu \
   $(lsb_release -cs) \
   stable"

5、安装
apt-get update
apt-get install docker-ce
页: [1]
查看完整版本: 【已解答】docker安装失败