Docker問題整理

自由的青發表於2024-11-05

Dockerfile

build時報錯

ERROR: failed to solve: DeadlineExceeded: DeadlineExceeded: DeadlineExceeded: node:14-alpine: failed to authorize: DeadlineExceeded: failed to fetch oauth token: Post "https://auth.docker.io/token"

解決方案

export DOCKER_BUILDKIT=0
export COMPOSE_DOCKER_CLI_BUILD=0

參考連結

https://me.jinchuang.org/archives/1566.html

相關文章