DockerHub limits causing failure despite having a local proxy
Bug #1942134 reported by
Boris Lukashev
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kolla-ansible |
Fix Released
|
High
|
Radosław Piliszek | ||
Ussuri |
Triaged
|
Medium
|
Radosław Piliszek | ||
Victoria |
Triaged
|
Medium
|
Radosław Piliszek | ||
Wallaby |
Triaged
|
Medium
|
Radosław Piliszek | ||
Xena |
Fix Released
|
High
|
Radosław Piliszek |
Bug Description
Large deployments fail consistently with dockerhub rate limit errors (sorta defeats the point of dockerhub imo), despite having a local proxy set up per https:/
```
docker_
registry-mirrors:
- http://<ip_address>
```
The error occurs with the proxy running or not running, so i'm guessing that its being ignored at runtime.
Is there a better way to avoid these limits, or instructions somewhere on just building the images in-house to the local registry?
To post a comment you must log in.
Hmm, it would confirm my earlier observation that, while the mirror caches images, it still asks DockerHub about them each time, causing the quota to deplete. Sad.
Anyhow, yes; it's generally recommended for production to entirely control your images, i.e., build them yourself using Kolla (kolla-build command) and publish to a locally-controlled registry.
For the registry I use Harbor: https:/ /goharbor. io/
It's quite popular and works well.
As for building the images: https:/ /docs.openstack .org/kolla/ latest/ admin/image- building. html