-
Notifications
You must be signed in to change notification settings - Fork 82
HTTP Auth not supported #109
Comments
In order to have it basically do a |
@mbentley Even with --insecure-registry I am still getting:
|
|
Thanks for the help: It is attempting to Our registry runs in this order: AWS ELB -> CoreOS machine -> Nginx container -> Registry v1 container |
What sort of authentication is being done on the v1 registry ( The first curl command that we hit is:
Based off of the parameters you're passing, this should return data:
|
We are using auth_basic and htpasswd on nginx. The following output has NO_LOGIN removed.
|
If you're using basic auth, you should not be using |
Yes, I removed NO_LOGIN. |
Whew, ok had me looking for a hole in the code 😄 |
But I am still getting the same errors regardless of how I attempt to use the migrator. |
Not sure if you missed #109 (comment) but could you try to manually run the curl that is failing?
|
|
Make sure that you're not running And it looks like either your v1 registry is not running search or nginx is not exposing |
I removed Everything behind ../ is exposed once authenticated. So I guess I need to enable search on my registry. |
Apparently search is part of the Docker v1 API so its not something that can be enabled or disabled. |
https://github.com/docker/docker-registry/blob/master/README.md#search-engine-options
|
Its configured to use sqlalchemy. :-/ |
Let me do some testing when I get back to my computer and I'll see what I can find out. I have a similar setup with nginx. |
Hmm, there is something wrong with the v1 registry then.
or if I bypass nginx:
And here is my nginx config:
I run my v1 registry using:
|
@mbentley Thanks for all your help. I am going to manually pull and re-tag and push since we only have a few images anyways. |
Hi,
We use an nginx container for authentication to our docker registry. As of now there isn't anyway to authenticate with this service before pulling images. It'd be nice if there was similar support for http_auth as there is for docker.io.
Maybe http_auth_user and http_auth_pass as environment variables?
Thanks
The text was updated successfully, but these errors were encountered: