从运行容器的真实镜像读取版本标签,而非构造 registry/nginx:latest。 nginx 使用官方镜像(nginx:1.27-alpine),构造路径本地不存在导致 "no such object" 错误。 同时修复 docker inspect 错误退出码未判断的问题,避免将错误信息写入版本号字段。 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| src/main | ||
| pom.xml | ||
从运行容器的真实镜像读取版本标签,而非构造 registry/nginx:latest。 nginx 使用官方镜像(nginx:1.27-alpine),构造路径本地不存在导致 "no such object" 错误。 同时修复 docker inspect 错误退出码未判断的问题,避免将错误信息写入版本号字段。 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| src/main | ||
| pom.xml | ||