https://mirrors.tuna.tsinghua.edu.cn/help/docker-ce/ 这不还是用官方库安装吗。。。 Debian/Ubuntu 用户 以下内容根据 官方文档 修改而来。
如果你过去安装过 docker,先删掉: sudo apt-get remove docker docker-engine docker.io 首先安装依赖: sudo apt-get install apt-transport-https ca-certificates curl gnupg2 software-properties-common 根据你的发行版,下面的内容有所不同。你使用的发行版: 信任 Docker 的 GPG 公钥: curl -fsSL https://download.docker.com/linux/debian/gpg | sudo apt-key add - 对于 amd64 架构的计算机,添加软件仓库: sudo add-apt-repository \ "deb [arch=amd64] https://download.docker.com/linux/debian \ $(lsb_release -cs) \ stable" 如果你是树莓派或其它ARM架构计算机,请运行: echo "deb [arch=armhf] https://download.docker.com/linux/debian \ $(lsb_release -cs) stable" | \ sudo tee /etc/apt/sources.list.d/docker.list 最后安装 sudo apt-get update sudo apt-get install docker-ce -- --- You received this message because you are subscribed to the Google Groups "TUNA 主邮件列表" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. For more options, visit https://groups.google.com/d/optout.
