I’m deploying my dockerized Django app using AWS Code Pipeline but facing some errors of Docker.
error:
JavaScript
x
3
1
Service 'proxy' failed to build : toomanyrequests: You have reached your pull rate limit.
2
You may increase the limit by authenticating and upgrading: https://www.docker.com/increase-rate-limit
3
docker-compose-deploy.yml
JavaScript
1
36
36
1
version: "3.8"
2
3
services:
4
db:
5
container_name: db
6
image: "postgres"
7
restart: always
8
volumes:
9
- postgres-data:/var/lib/postgresql/data/
10
11
app:
12
container_name: app
13
build:
14
context: .
15
restart: always
16
volumes:
17
- static-data:/vol/web
18
depends_on:
19
- db
20
21
proxy:
22
container_name: proxy
23
build:
24
context: ./proxy
25
restart: always
26
depends_on:
27
- app
28
ports:
29
- 80:8000
30
volumes:
31
- static-data:/vol/static
32
33
volumes:
34
postgres-data:
35
static-data:
36
buildspec.yml
JavaScript
1
5
1
phases:versions.
2
build:
3
commands:
4
- docker-compose -f docker-compose-deploy.yml up --build
5
Advertisement
Answer
Docker Hub limits the number of Docker image downloads (“pulls”) based on the account type of the user pulling the image. Pull rates limits are based on individual IP address. For anonymous users, the rate limit is set to 100 pulls per 6 hours per IP address. For authenticated users, it is 200 pulls per 6 hour period. There are no limits for users with a paid Docker subscription.
Docker Pro and Docker Team accounts enable 5,000 pulls in a 24 hour period from Docker Hub.
Please read: