微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

如何在 SLES 12

如何解决如何在 SLES 12

我尝试直接在 SLES 12 上安装 podman,但看起来缺少软件包。

dmitry@sles12:~> sudo zypper in podman
Refreshing service 'Advanced_Systems_Management_Module_x86_64'.
Refreshing service 'Containers_Module_x86_64'.
Refreshing service 'Legacy_Module_x86_64'.
Refreshing service 'Public_Cloud_Module_x86_64'.
Refreshing service 'SUSE_Linux_Enterprise_Server_x86_64'.
Refreshing service 'Web_and_Scripting_Module_x86_64'.
Loading repository data...
Reading installed packages...
'podman' not found in package names. Trying capabilities.
No provider of 'podman' found.
Resolving package dependencies...

nothing to do.

我发现的关于在 SLES 12 上运行 podman 的唯一信息是

SLES 12 是使用当前容器技术的糟糕平台。 它太老了,并且基于 docker 而不是 podman 构建/基于。

来源:https://lists.opensuse.org/opensuse-kubic/2019-10/msg00009.html

据我所知,仍然支持 SLES 12。 我查看了SLES 12 SP4SLES 12 SP5的最新发布说明,这两个是在podman首次公开发布之后发布的,但没有提到podman。

解决方法

Podman 并未正式提供给 SLE-11。

请查看 SLES 15 SP2 的发行说明(“5.2.1 Support for podman”):

从 SUSE Linux Enterprise Server 15 SP2 开始,podman 是受支持的容器引擎。但是,目前不支持 podman 的某些功能:[...]

来源:https://www.suse.com/releasenotes/x86_64/SUSE-SLES/15-SP2/#jsc-SLE-9112

您可以使用基于社区的Virtualization:containers 存储库中的包来尝试不受支持的版本 podman:

https://build.opensuse.org/package/show/Virtualization%3Acontainers/podman

示例程序:

zypper ar --refresh https://download.opensuse.org/repositories/Virtualization:/containers/SLE_12_SP5/Virtualization:containers.repo
zypper ref
zypper in podman

在此过程中,您肯定需要接受/信任存储库的签名详细信息,最终您还需要从其他存储库安装其他依赖项。

迁移到 SLES 15 SP2 可能是更简单的方法。

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。