重要说明:

IBM Cloud Pak® for Data 4.6 版本将于 2025 年 7 月 31 日结束支持(EOS)。 欲了解更多信息,请参阅 IBM Cloud Pak for Data 版本 4.X 的停止服务公告

在 IBM Cloud Pak for Data 4.6 版本支持结束之前,升级到 IBM Software Hub 5.1 版本。 更多信息,请参阅 IBM Software Hub 版本 5.1 文档中的升级 IBM Software Hub。

下载运行时映像

使用 .json 配置文件中的信息来下载运行时映像以进行定制。

  1. 通过在配置文件中搜索 "image" 来获取映像的名称。 例如,如果搜索配置文件 wml-deployment-runtime-py310-server.json ,您将看到:

     ...
     "replicas": 1,
     "image": "cp.icr.io/cp/cpd/wml-deployment-runtime-py310-1@sha256:083197b2360a4947252ef0797c68744ee58f91999947eab1b5c1c6b247bc9890",
     ...
    

    在这种情况下, wml-deployment-runtime-py310-1@sha256:083197b2360a4947252ef0797c68744ee58f91999947eab1b5c1c6b247bc9890 是必须下载的映像。

    如果搜索配置文件 wml-deployment-runtime-spss-server.json:

    ...
    "replicas": 1,
        "image": "<image-registry-url>:5000/<namespace>/wml-deployment-runtime-spss@sha256:056324df384889f6b3762665f84b1c4903f7a433935816ed186fb00985688050",
        "software_specification_name": "spss-modeler_18.2"
    ...
    

    在这种情况下, wml-deployment-runtime-spss@sha256:056324df384889f6b3762665f84b1c4903f7a433935816ed186fb00985688050 是必须下载的映像。

    注: 根据 Cloud Pak for Data 的安装方式,图像 URL 的 <namespace> 部分可能是空的。

  2. 要下载映像,请选择下列其中一种方法:

    • 如果您可以访问 IBM Entitled 注册表 URL ,请直接从以下网址下载基本映像 cp.icr.io/cp/cpd/wml-deployment-runtime-py310-1@sha256:083197b2360a4947252ef0797c68744ee58f91999947eab1b5c1c6b247bc9890

    • 如果已将映像配置为在安装时进行镜像,请从专用注册表下载该映像。 例如:

    <private-registry-url>:<namespace>/wml-deployment-runtime-py310-1@sha256:083197b2360a4947252ef0797c68744ee58f91999947eab1b5c1c6b247bc9890
    
  3. 对于 Docker 或 Podman:

    登录该实用程序。 以下代码片段显示如何使用 Docker。 Podman 的登录语法(命令名除外)相同:

    docker login -u <username> -p <password> <image-registry-url>
    
  4. 下载映像,例如:

    docker pull <image-registry-url>/wml-deployment-runtime-py310-1@sha256:083197b2360a4947252ef0797c68744ee58f91999947eab1b5c1c6b247bc9890
    

父主题: 准备构建定制映像