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
Support for private docker registries withotut authentication? #2188
Comments
I haven't tested it - but are you sure that authentication is mandatory for private registries? We support DockerHub today (no authentication), so I don't see any reason why you cannot provide a private registry with no auth config. |
Yeah - Im sure: See how create button is greyed out. It says "Password is required" and I cannot click on "create". |
Have you tried just creating a custom stack that references a Dockerfile, and then just use FROM /. The FROM syntax in Docker assumes docker.io as the host, but you can prepend other hosts. And this syntax doesn't require a custom registry setup then. |
I haven't tried that yet. Ill try it today. |
@TylerJewell DockerHub requires auth. What @loganto is trying to say is perhaps that User Dashboard requires login and pass otherwise a registry cannot be added? But if your Docker registry requires no auth, @TylerJewell has suggested the right thing - just inherit your base image in a custom recipe and let's see how it goes. |
@eivantsov
Yeah - exactly this.
Yeah - just trying to make it easier for team members. Logically there is no reason one shoudln't be able to add private registry with no auth using the same gui mechanism. |
I will label it as an enhancement. It's not entirely a bug because there is a way to access public repositories today. It's a bit of a UX issue as I get @loganto point about the registry list not rejecting a public repository. So we could add in that sort of logic to the registry screen. |
Closing as far as trying to add public registry to the list of private registries. The needed host can be directly pointed in docker file. |
Will this bug be fixed? |
For out purposes w'd like to use private docker registry.
Since it's an internal network and is not available to the outside world -> we were hoping to forego TLS & authentication setup (cuz it's PITA to setup).
However -> Eclipse che currently doesn't support registries without authentication.
Any chance this feature could be added? that would simplify things a lot for us.
The text was updated successfully, but these errors were encountered: