安装 Docker-Desktop 出现依赖问题
添加 docker-ce-cli 的安装源
$ echo \
"deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/debian \
$(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
当前用户加入docker组
sudo usermod -aG docker $USER && newgrp docker
更新源
suo apt-get update
其余依赖问题
用 pass
依赖举例,首先 apt-get install <依赖名> ,错误后使用 apt-get install -f
sudo apt-get install pass
# 报错
sudo apt-get install -f
再次安装
sudo apt-get install ./docker-desktop-<version>-<arch>.deb
文章参照
https://www.jianshu.com/p/be64e10070de
标签:get,Debain11,sudo,apt,desktop,install,Linux,docker From: https://www.cnblogs.com/enrace/p/16802214.html