159 字
1 分钟
OpensuseLeap安装Docker
安装命令:
zypper install docker docker-compose gnome-keyring libsecret
然后可以去systemd
配置文件改env
配代理,也可以去/etc/sysconfig/docker
添加代理env
的kv pair
!!!不是一些教程里的!!!
zypper install docker python3-docker-compose
会报错:
localhost:~ # docker versionClient: Version: 28.3.3-ce API version: 1.51 Go version: go1.24.5 Git commit: bea959c7b Built: Tue Jul 29 12:00:00 2025 OS/Arch: linux/amd64 Context: default
Server: Engine: Version: 28.3.3-ce API version: 1.51 (minimum version 1.24) Go version: go1.24.5 Git commit: bea959c7b Built: Tue Jul 29 12:00:00 2025 OS/Arch: linux/amd64 Experimental: false containerd: Version: v1.7.27 GitCommit: 05044ec0a9a75232cad458027ca83437aae3f4da runc: Version: 1.2.6 GitCommit: v1.2.6-0-ge89a29929c77 docker-init: Version: 0.2.0_catatonit GitCommit:localhost:~ # docker run --rm hello-worldUnable to find image 'hello-world:latest' locallydocker: error getting credentials - err: exit status 1, out: `GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.secrets was not provided by any .service files`
Run 'docker run --help' for more information
OpensuseLeap安装Docker
https://fuwari.vercel.app/posts/opensuseleap安装docker/