openSUSE leap/Tumbleweed 安装 最新版 Docker 最优雅最方便的方式是什么?

docker 官方只提供了 SLES 的安装方式:Install Docker Engine on SLES | Docker Docs

我直接用 zypper install docker 安装的不是最新版

https://build.opensuse.org/package/show/Virtualization:containers/docker

大佬 这个怎么用 有教程吗

点进去,根据你的系统选择右边的一堆 success 那里的 Repository,再名字点进去有个 Go to download repository, 把那个加为源就可以了。

好的 谢谢 请问 zypper addrepo https://download.opensuse.org/repositories/Virtualization:containers/openSUSE_Tumbleweed_and_d_l_g/Virtualization:containers.repo 其中的 openSUSE_Tumbleweed_and_d_l_g 是什么版本?

点了 就跳转到 这里:https://mirrorcache-jp.opensuse.org/repositories/Virtualization:/containers/openSUSE_Tumbleweed/

直接添加这个链接为源吗

devel:languages:go 的缩写。意思是使用最新 golang 编译的。Tumbleweed 里的 golang 跟 dlg 里的 golang 版本有时候不一定一致,后者可能会新,他们可能是想提前排除编译错误吧,对你没什么用,你就用 Tumbleweed 的源就行了。

Leap 15.5 的 Update 仓库最新版本是 24.0.5
Virtualization:containers (15.5) 最新版本是 24.0.7

最优雅方式就是 zypper in docker 即可了。