搞根社区搞的,原本debian维护的docker.io包没了,所以只能自己加源安装docker-ce……
参考:https://mirrors.tuna.tsinghua.edu.cn/help/docker-ce/
curl -fsSL https://download.docker.com/linux/debian/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg
echo \
"deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://mirrors.tuna.tsinghua.edu.cn/docker-ce/linux/debian \
buster stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
sudo apt-get update
sudo apt-get install docker-ce
相当于还是得先用Debian的buster仓库
deepin v23 如何安装 docker