🐳
Devin内でDockerのセットアップをする際にリミットエラーが出る
はじめに
自分のメモみたいなものです。
問題
Devin内でプロジェクトをセットアップする際に、docker-compose upコマンドが失敗しました。
Docker rate limiting is preventing container builds with error "429 Too Many Requests - Server message: toomanyrequests: Data limit exceeded". The app requires MySQL database which should be running in Docker, but we can't start the containers due to this limitation. The dev server starts but can't connect to the database.
原因
Dockerイメージのpullに回数制限が引っかかったみたいです。
解決
回数制限が引っかからないようにDockerイメージをECRから取得するようにします。
例
mysql:
- image: mysql:8.0-oracle
+ image: public.ecr.aws/docker/library/mysql:8.0-oracle
最後に
Devin内関係なく、同じ問題が起こった際に同様な対象を取ると解決できます。
Discussion