自定义 docker compose 构建时报错:访问 https://docker.fnnas.com
401
报错信息:
#0 building with "default" instance using docker driver
#1 [app internal] load build definition from Dockerfile
#1 transferring dockerfile: 369B done
#1 DONE 0.0s
#2 [app internal] load metadata for docker.io/oven/bun:1
#2 ERROR: unexpected status from HEAD request to https://docker.fnnas.com/v2/oven/bun/manifests/1?ns=docker.io: 401 Unauthorized
------
> [app internal] load metadata for docker.io/oven/bun:1:
------
time="2025-05-28T11:12:28+08:00" level=warning msg="current commit information was not captured by the build" error="failed to read current commit information with git rev-parse --is-inside-work-tree"
failed to solve: oven/bun:1: failed to resolve source metadata for docker.io/oven/bun:1: unexpected status from HEAD request to https://docker.fnnas.com/v2/oven/bun/manifests/1?ns=docker.io: 401 Unauthorized
Exited:0