更新时间:2026-09-14 GMT+08:00
执行agentarts launch命令时出现ERROR: Repository 'xxx' not found报错
问题现象
执行agentarts launch部署智能体,构建Docker镜像成功,但推送SWR镜像仓库阶段报错:ERROR: Repository 'xxx/xxx' not found。
问题原因
在于通过agentarts configure --entrypoint app:app做交互式配置时,SWR Repository输入的镜像仓库名称在SWR中不存在。

解决方案
使用nano .agentarts_config.yaml命令进入config文件,将organization_auto_create的值修改为true即可。
- 编辑配置文件
nano .agentarts_config.yaml
- 在swr_config配置块下,设置repository_auto_create: true,同时填写自定义仓库名称:
swr_config: repository: "自定义仓库名" repository_auto_create: true
- 保存退出,重新执行agentarts launch。

父主题: 运行时