0

我无法在 open suse 15.2 上安装 docker,glibc 版本不满足 docker 的依赖:

sudo zypper install docker docker-bash-completion python3-docker-compose
Loading repository data...
Reading installed packages...
Resolving package dependencies...
2 Problems:
Problem: nothing provides libc.so.6(GLIBC_2.32)(64bit) needed by docker-20.10.3_ce-9.2.x86_64
Problem: nothing provides libc.so.6(GLIBC_2.32) needed by docker-20.10.3_ce-9.2.i586

Problem: nothing provides libc.so.6(GLIBC_2.32)(64bit) needed by docker-20.10.3_ce-9.2.x86_64
 Solution 1: do not install docker-20.10.3_ce-9.2.x86_64
 Solution 2: break docker-20.10.3_ce-9.2.x86_64 by ignoring some of its dependencies

Choose from above solutions by number or skip, retry or cancel [1/2/s/r/c/d/?] (c):

我试图更新 glibc,但是:

No update candidate for 'glibc-2.26-lp152.26.3.1.x86_64'. The highest available version is already installed.

我不愿意从源代码安装更高版本的 glibc,因为我们都知道 glibc 的混乱是多么的灾难!

4

1 回答 1

0

看起来解决这个问题的唯一方法(至少现在)是通过 snapcraft (snap) 安装 docker,这让我重新启动并运行。

另见:https ://snapcraft.io/install/docker/opensuse

据我了解,快照包包含所有依赖项,并且不依赖于系统共享对象。

于 2021-02-16T00:27:17.693 回答