You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

JFrog Artifactory Cloud Docker仓库Podman搜索EOF错误排查求助

问题

我们使用JFrog Artifactory Cloud实例搭建了私有Docker仓库,镜像推送与拉取操作均正常,但执行搜索时出现EOF错误:

% podman search myorg.jfrog.io/myorg-docker/
Error: 1 error occurred:
    * EOF

开启debug日志后的podman search输出如下:

C:\Users\kklein>podman --log-level=debug search myorg.jfrog.io/myorg-docker
time="2025-08-20T09:30:45-05:00" level=info msg="podman filtering at log level debug"
time="2025-08-20T09:30:45-05:00" level=debug msg="Called search.PersistentPreRunE(podman --log-level=debug search myorg.jfrog.io/myorg-docker)"
time="2025-08-20T09:30:45-05:00" level=debug msg="SSH Ident Key \"C:\\\\Users\\\\kklein\\\\.local\\\\share\\\\containers\\\\podman\\\\machine\\\\machine\" REDACTED ssh-ed25519"
time="2025-08-20T09:30:45-05:00" level=debug msg="DoRequest Method: GET URI: http://d/v5.5.2/libpod/_ping"
time="2025-08-20T09:30:45-05:00" level=debug msg="Loading registries configuration \"C:\\\\Users\\\\kklein\\\\.config\\\\containers\\\\registries.conf\""
time="2025-08-20T09:30:45-05:00" level=debug msg="Found credentials for docker.io in credential helper containers-auth.json in file C:\Users\kklein\.config\containers\auth.json"
time="2025-08-20T09:30:45-05:00" level=debug msg="Found credentials for myorg.jfrog.io in credential helper containers-auth.json in file C:\Users\kklein\.config\containers\auth.json"
time="2025-08-20T09:30:45-05:00" level=debug msg="DoRequest Method: GET URI: http://d/v5.5.2/libpod/images/search"
Error: 1 error occurred:
        * EOF


time="2025-08-20T09:30:46-05:00" level=debug msg="Shutting down engines"

C:\Users\kklein>
分析与解决方法

Artifactory Cloud完全支持Docker仓库的搜索功能,推送拉取正常说明仓库基础配置无问题,搜索报EOF错误主要排查以下几点:

  • Podman搜索请求路径问题
    从debug日志可见,podman search默认调用了容器运行时内部的API(http://d/v5.5.2/libpod/images/search),而非直接向Artifactory仓库发起搜索请求,这种间接调用可能因响应格式不匹配导致EOF错误。
    解决方式:使用--registry参数强制Podman直接查询目标仓库,执行命令:

    podman search --registry myorg.jfrog.io/myorg-docker
    
  • Artifactory权限配置遗漏
    推送拉取权限不覆盖搜索权限,需检查Artifactory对应Docker仓库的权限设置,确保当前用户拥有List或Read权限(搜索需要读取镜像列表的权限)。

  • Podman版本兼容性
    部分旧版本Podman在处理私有仓库搜索时存在兼容性bug,建议升级到最新稳定版本后重试。

  • 网络层拦截
    搜索请求的API路径与推送拉取不同,需确认防火墙、代理规则未拦截Podman向Artifactory发送的搜索相关请求。

内容的提问来源于stack exchange,提问作者Kevin Klein

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.06.12 12:12:31