【问题标题】:How to intstall podman on SLES 12如何在 SLES 12 上安装 podman
【发布时间】:2021-07-01 06:00:25
【问题描述】:

我尝试直接在 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最新的release notes,这两个是在podman第一次公开发布之后发布的,但是没有提到podman。

【问题讨论】:

    标签: suse podman sles


    【解决方案1】:

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

    请查看 SLES 15 SP2 的发行说明(“5.2.1 对 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
    

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

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

    【讨论】:

      猜你喜欢
      • 2016-05-13
      • 2017-04-23
      • 2015-05-22
      • 1970-01-01
      • 1970-01-01
      • 2017-05-18
      • 2019-04-19
      • 1970-01-01
      • 2015-05-22
      相关资源
      最近更新 更多