Can we integrate keygen licence with docker images in private docker repo ? #137
Replies: 5 comments 1 reply
-
I'm assuming what you're wanting to do is add license validation in front of a private third-party Docker registry. Right now, this isn't supported. But I do have this issue open, but it's not a high priority. We eventually want to offer full OCI support via a release engine. But until then, you may need to build your own microservice (like keygen-sh/keygen-api#642) that sits in front of your Docker registry, which communicates with Keygen to assert license validity before streaming the files. Let me know if any of that is incorrect — would love to help get you pointed in the right direction. |
Beta Was this translation helpful? Give feedback.
-
Hello,
Thank you for your reply.
Yes, we want to add licence validation to docker image which is present in
any of the docker registry (be it GHCR, Dockerhub, etc)
Our image is pushed in either of this container registries and we want to
add licence validation for users pulling this image from repo.
Hope I made my requirement clear
Thanks,
Yogitha
…On Thu, 25 Apr 2024, 20:47 Zeke Gabrielse, ***@***.***> wrote:
I'm assuming what you're wanting to do is add license validation in front
of a private third-party Docker registry. Right now, this isn't supported.
But I do have this issue
<keygen-sh/keygen-api#642> open, but it's not a
high priority. We eventually want to offer full OCI support via a release
engine <keygen-sh/keygen-api#493>.
But until then, you may need to build your own microservice (like
keygen-sh/keygen-api#642
<keygen-sh/keygen-api#642>) that sits in front
of your Docker registry, which communicates with Keygen to assert license
validity before streaming the files.
Let me know if any of that is incorrect — would love to help get you
pointed in the right direction.
—
Reply to this email directly, view it on GitHub
<#137 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AJXMIZONJ2DGQD5CF7CLHA3Y7EM6XAVCNFSM6AAAAABGUS5QVSVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4TEMRWGY3TA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Just to clarify, because your question is kind of ambiguous… are you asking:
Those are both very different asks, so just want to be on the same page. |
Beta Was this translation helpful? Give feedback.
-
Yes. Correct. First point . That's what I am asking for.
Thanks,
Yogitha
…On Fri, 26 Apr 2024, 20:41 Zeke Gabrielse, ***@***.***> wrote:
Just to clarify, because your question is kind of ambiguous… are you
asking:
1. How to add a proxy in front of an existing Docker registry that
redirects when the user has a valid license.
2. How to add license validation to the Dockerized application itself.
Those are both very different asks, so just want to be on the same page.
—
Reply to this email directly, view it on GitHub
<#137 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AJXMIZN56XJ2UU5H4Y5I2X3Y7JVDBAVCNFSM6AAAAABGUS5QVSVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4TEMZYGU4DG>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
I want to license an application I have developed as monthly, yearly packages. Can I do this with keygen.sh after dockerizing my application? |
Beta Was this translation helpful? Give feedback.
-
we have gone through this link (https://keygen.sh/blog/how-to-license-and-distribute-a-private-docker-image/) . but we want to track licence with docker image present on private docker repo ?
if user with proper licence is trying to access (docker pull image) docker image present in prvate docker repo , it should allow , if licence expired it should not allow to pull images
Beta Was this translation helpful? Give feedback.
All reactions