Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

About docker hub rate limited #25

Closed
KyleCB opened this issue Jan 12, 2024 · 1 comment · Fixed by #32
Closed

About docker hub rate limited #25

KyleCB opened this issue Jan 12, 2024 · 1 comment · Fixed by #32
Assignees

Comments

@KyleCB
Copy link
Contributor

KyleCB commented Jan 12, 2024

由於 docker hub 日漸限縮下載流量,在 image 逐漸增多的同時開始遇到 429 的限流問題,有以下幾種解決方式

  • 使用替代下載點如 gcr.io,但前提必須要官方有提供
  • 使用如 harbor proxy cache 減少同 image 重複下載的負擔,但如果都是不同 image 就沒用
@KyleCB
Copy link
Contributor Author

KyleCB commented Jul 8, 2024

重新研究了一下

docker/buildx#2268 有做新舊 input 兼容

但 builder 必須要加上 --buildkitd-flags='--debug' 才會真正顯示 debug 資訊

另外 tag-and-push 因為不是經由 builder 所以要直接改 src 去引用 mirror 才會生效

@KyleCB KyleCB linked a pull request Jul 8, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant