#1、安装依赖模快apt-get install apt-transport-https ca-certificates curl gnupg2 software-properties-common
#2、添加源密钥文件curl -fsSL https://mirrors.ustc.edu.cn/docker-ce/linux/debian/gpg|apt-key add -
#3、添加国内源#添加如下行
vim /etc/apt/source.listdeb [arch=amd64] https://mirrors.ustc.edu.cn/docker-ce/linux/debian bookworm stable
#4、开始安装
apt-get update && apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
.
.
.