已关闭
【沙箱Agent】agent 镜像缺少 /tmp 目录,创建沙箱报 stat /tmp 失败 #2
ZYH-ang创建于 29 天前关闭于 28 天前
29 天前 添加了label:sig/sig-agent-sandbox
openFuyao-bot
29 天前 评论:
29 天前 评论:
欢迎来到 openFuyao 社区
Hey @ZYH-ang , 感谢你对社区的贡献.
机器人使用手册
有关指令的使用,可以点击 此处 查看详情。开发人员可以在每个PR或Issue下方评论特定指令来触发机器人任务。您可以自助配置此仓库的 PR 合并规则,更多详情,请参阅此处。
联系指引
有疑问可以联系 SIG: sig-agent-sandbox ,
维护者是: @Gao-Pan, @fisher789, @ruanhanqing, @wwthw, @zjw6 ,
审核者是: @Gao-Pan, @fisher789, @ruanhanqing, @wwthw, @zjw6 .


29 天前 修改了issue 的描述
29 天前 issue优先级由 无优先级 改变为 严重
29 天前 关联了看板:openFuyao - v26.09问题单
29 天前 关联了里程碑:v26.09
29 天前 移除了看板:openFuyao - v26.09问题单
29 天前 关联了看板:openFuyao - v26.09问题单
panchaolai
29 天前 评论:
29 天前 评论:
29 天前 将 panchaolai 设为负责人
29 天前 issue状态由 开启 改变为 待测试
28 天前 issue状态由 待测试 改变为 已完成
28 天前 关闭了 issue
24 天前 issue优先级由 严重 改变为 次要
环境信息/ Environment
问题简述/ Brief Description
agent 镜像基于
FROM scratch构建且未包含/tmp目录,创建沙箱时临时目录创建失败,agent 返回 500,所有沙箱均无法创建。问题详情&复现步骤 / Details & Reproduction Steps
/v1/flux/sandboxes);根因:
build/Dockerfile.flux-sandbox-agent最终阶段为FROM scratch(空文件系统),镜像内不存在/tmp目录。期望结果/ Expected Results
agent 镜像中包含
/tmp目录,沙箱可正常创建。修复方式:在 Dockerfile 中将/tmp目录带入镜像,例如:COPY --from=build /tmp /tmp实际结果/Actual Results
创建沙箱时 agent 报
failed to create temp dir: stat /tmp: no such file or directory,返回 500,沙箱创建失败。