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

Switch dockerhub to a mirrored registry #1749

Open
gmunozfe opened this issue Jan 15, 2025 · 3 comments · May be fixed by apache/incubator-kie-kogito-runtimes#3828 or apache/incubator-kie-kogito-apps#2176
Assignees

Comments

@gmunozfe
Copy link

Due to Docker Inc expanding the terms of its license, it is better to replace Docker Hub container pulls and use instead a mirrored registry

@tiagobento
Copy link

There are many places on Apache KIE depending on pulls from Docker Hub. Do you mind sharing more details about your motivations behind this move? I believe we should coordinate changing more places rather than having a fragmented change done to only one of the repos. Thanks @gmunozfe!

@gmunozfe
Copy link
Author

There are many places on Apache KIE depending on pulls from Docker Hub. Do you mind sharing more details about your motivations behind this move? I believe we should coordinate changing more places rather than having a fragmented change done to only one of the repos. Thanks @gmunozfe!

@tiagobento I've started by runtimes repo, but will continue with others (apps, examples..).

The main motivation is that from November 2024, Docker's license agreement has expanded to include Docker Hub usage. Docker Hub is not free to use, and collectively Red Hat (and potentially other companies) appears to make significant use of it that impacts our compliance.

Notice that for testcontainers use case, the environment variable TESTCONTAINERS_HUB_IMAGE_NAME_PREFIX won't work automatically for "Docker Hub image names where the hub registry is explicitly part of the name (i.e. anything with a docker.io or registry.hub.docker.com host part)" . This applies for tests using devservices where Quarkus defines "docker.io" as part of the container image name.

@domhanak
Copy link

Thanks @gmunozfe 👍 to switching to gcr where possible and limit docker pulls, even on GHActions exec. Rather be safe than sorry.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants