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

Publish Docker Images to Additional Registries (e.g., ghcr.io) Due to Docker Hub Rate Limits #204

Open
dulltz opened this issue Oct 25, 2024 · 4 comments
Labels
proposal Enhancement idea or proposal

Comments

@dulltz
Copy link

dulltz commented Oct 25, 2024

What motivated this proposal?

Currently, NACKs' container images are only available on Docker Hub.
However, with Docker Hub enforcing stricter rate-limits, it could be beneficial to publish images to other registries, such as ghcr.io or ECR Public.

This would help avoid issues related to rate-limits and provide more flexibility for users.

What is the proposed change?

In release pipelines, push container images to ghcr.io as well.
With this change we will be able to pull the container at the following URIs:

  • ghcr.io/nats-io/nats-server-config-reloader
  • ghcr.io/nats-io/jetstream-controller
  • ghcr.io/nats-io/nats-boot-config

Who benefits from this change?

NACK users without Docker Hub subscriptions.

What alternatives have you evaluated?

Certainly, while users can avoid the pull rate limit by pushing container images to their own repository or utilizing pull-through cache, I believe that addressing this at the upstream level would be the most effective solution.

@dulltz dulltz added the proposal Enhancement idea or proposal label Oct 25, 2024
@Jarema
Copy link
Member

Jarema commented Oct 25, 2024

Thanks for creating the issue.

Yes, we are considering adopting some alternatives. Stay tuned.

@dulltz
Copy link
Author

dulltz commented Oct 25, 2024

@Jarema Thank you! We’ll be facing strict rate limits starting on November 15, so it would be really helpful if you could prioritize this issue. Alternatively, I’m willing to contribute.

@Jarema
Copy link
Member

Jarema commented Oct 28, 2024

Thank you for signing up to help, but that requires us to setup the registries.

@dulltz
Copy link
Author

dulltz commented Oct 29, 2024

@Jarema
Thank you for your response!

FYI: If we use GHCR, it actually requires minimal setup. We can simply push container images to ghcr.io/nats-io/<name> with permissions packages: write, and they’ll be publicly accessible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
proposal Enhancement idea or proposal
Projects
None yet
Development

No branches or pull requests

2 participants