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

Support for private docker registries withotut authentication? #2188

Closed
linuxd3v opened this issue Aug 22, 2016 · 9 comments
Closed

Support for private docker registries withotut authentication? #2188

linuxd3v opened this issue Aug 22, 2016 · 9 comments
Labels
kind/enhancement A feature request - must adhere to the feature request template.

Comments

@linuxd3v
Copy link

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.

@linuxd3v linuxd3v changed the title Support for public docker registries? Support for private docker registries withotu authentication? Aug 22, 2016
@linuxd3v linuxd3v changed the title Support for private docker registries withotu authentication? Support for private docker registries withotut authentication? Aug 22, 2016
@TylerJewell
Copy link

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.

@linuxd3v
Copy link
Author

linuxd3v commented Aug 22, 2016

Yeah - Im sure:
http://i.imgur.com/JCP6d8A.png

See how create button is greyed out. It says "Password is required" and I cannot click on "create".
Afaik DockerHub support is build in (I dont think I have to add it specifically).

@TylerJewell
Copy link

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.

@linuxd3v
Copy link
Author

I haven't tried that yet. Ill try it today.

@ghost
Copy link

ghost commented Aug 23, 2016

@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.

@ghost ghost added the kind/question Questions that haven't been identified as being feature requests or bugs. label Aug 23, 2016
@linuxd3v
Copy link
Author

linuxd3v commented Aug 23, 2016

@eivantsov

What @loganto is trying to say is perhaps that User Dashboard requires login and pass otherwise a registry cannot be added?

Yeah - exactly this.

just inherit your base image in a custom recipe and let's see how it goes.

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.

@TylerJewell TylerJewell added the kind/enhancement A feature request - must adhere to the feature request template. label Aug 23, 2016
@TylerJewell
Copy link

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.

@ashumilova ashumilova added team/plugin status/info-needed More information is needed before the issue can move into the “analyzing” state for engineering. sprint/next and removed kind/question Questions that haven't been identified as being feature requests or bugs. labels Aug 25, 2016
@ashumilova
Copy link
Contributor

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.

@ashumilova ashumilova removed sprint/current status/info-needed More information is needed before the issue can move into the “analyzing” state for engineering. labels Sep 20, 2016
@Learath
Copy link

Learath commented Jan 19, 2019

Will this bug be fixed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement A feature request - must adhere to the feature request template.
Projects
None yet
Development

No branches or pull requests

4 participants