-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Closed
Labels
Description
Feature Request
For English only, other languages will not be accepted.
Please pay attention on issues you submitted, because we maybe need more details.
If no response anymore and we cannot make decision by current information, we will close it.
Please answer these questions before submitting your issue. Thanks!
Is your feature request related to a problem?
- See https://github.com/apache/shardingsphere/actions/runs/11331122221/job/31510450951 .
Describe the feature you would like.
- Originally, the reason why I used Oracle Linux as the Base Docker Image in ShardingSphere Proxy Native was very simple. Oracle Linux 7 is actually the development environment for all GraalVM CE contributors. Every contributor who compiles GraalVM CE will notice the content in https://github.com/oracle/graal/blob/master/.devcontainer/Dockerfile .
- But according to https://github.com/apache/shardingsphere/actions/runs/11331122221/job/31510450951 , it seems that it is easy to trigger the rate limit of Docker Hub now.
[INFO] --- exec:3.1.0:exec (build and push docker image) @ shardingsphere-proxy-native-distribution ---
#0 building with "shardingsphere-builder" instance using docker-container driver
#1 [internal] booting buildkit
#1 pulling image moby/buildkit:buildx-stable-1
#1 pulling image moby/buildkit:buildx-stable-1 2.9s done
#1 creating container buildx_buildkit_shardingsphere-builder0
#1 creating container buildx_buildkit_shardingsphere-builder0 0.3s done
#1 DONE 3.2s
#2 [internal] load build definition from Dockerfile
#2 transferring dockerfile: 1.16kB done
#2 DONE 0.0s
#3 [auth] library/oraclelinux:pull token for registry-1.docker.io
#3 DONE 0.0s
#4 [linux/arm64 internal] load metadata for docker.io/library/oraclelinux:9-slim
#4 ERROR: failed to copy: httpReadSeeker: failed open: unexpected status code https://registry-1.docker.io/v2/library/oraclelinux/manifests/sha256:0eb8e1dc0a6144a15926f483a8a0f7c91fc7689fc3a101e348c497a9dbf3488e: 429 Too Many Requests - Server message: toomanyrequests: You have reached your pull rate limit. You may increase the limit by authenticating and upgrading: https://www.docker.com/increase-rate-limit
#5 [linux/amd64 internal] load metadata for docker.io/library/oraclelinux:9-slim
#5 CANCELED
------
> [linux/arm64 internal] load metadata for docker.io/library/oraclelinux:9-slim:
------
Dockerfile:17
--------------------
15 | # limitations under the License.
16 | #
17 | >>> FROM oraclelinux:9-slim
18 | LABEL org.opencontainers.image.authors="ShardingSphere [email protected]"
19 | ENV LOCAL_PATH=/opt/shardingsphere-proxy-native-bin
--------------------
ERROR: failed to solve: oraclelinux:9-slim: failed to resolve source metadata for docker.io/library/oraclelinux:9-slim: failed to copy: httpReadSeeker: failed open: unexpected status code https://registry-1.docker.io/v2/library/oraclelinux/manifests/sha256:0eb8e1dc0a6144a15926f483a8a0f7c91fc7689fc3a101e348c497a9dbf3488e: 429 Too Many Requests - Server message: toomanyrequests: You have reached your pull rate limit. You may increase the limit by authenticating and upgrading: https://www.docker.com/increase-rate-limit
- It may be a better choice to migrate to https://container-registry.oracle.com/ords/ocr/ba/os/oraclelinux which does not have rate limit. This is documented at https://yum.oracle.com/oracle-linux-downloads.html .
- This is the proposal of the current issue, changing the base Docker Image of ShardingSphere Proxy Native from
oraclelinux:9-slim
tocontainer-registry.oracle.com/os/oraclelinux:9-slim
.