-
Notifications
You must be signed in to change notification settings - Fork 158
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 any private registry #525
Comments
Hey @desmondmorris. We haven't tried against another registry like Quay in a while, but I don't think we're doing anything right now that should prevent this. You should be able to deploy from a private registry with:
We should add some tests and update the docs to make this support more explicit. |
@ejholmes gotcha thanks! I have already started a patch to add this support. Basically, it just adds an additional parameter |
This was fixed by #528 right? |
Might be some other areas that don't work well with registries other than the official one. Might be good to keep this open until we explicitly support it with tests/docs. |
I'm trying to deploy public image from quay.io and it seems that empire looking for it in the wrong place. Below is excerpts from Jul 28 01:53:43 ip-10-5-4-12.empire dockerd: time="2015-07-27T22:53:43.129463639Z" level=error msg="HTTP Error" err="No such image: quay.io/bronislav/clsi-sharelatex:latest" statusCode=404
Jul 28 01:54:43 ip-10-5-4-12.empire dockerd: time="2015-07-27T22:54:43.894958097Z" level=info msg="POST /images/create?fromImage=bronislav%2Fclsi-sharelatex®istry=quay.io&tag=latest"
Jul 28 01:54:43 ip-10-5-4-12.empire dockerd: time="2015-07-27T22:54:43.926265117Z" level=error msg="Error from V2 registry: token auth attempt for registry https://registry-1.docker.io/v2/: https://auth.docker.io/token?account=bronislav%2Bempire&scope=repository%3Abronislav%2Fclsi-sharelatex%3Apull&service=registry.docker.io request failed with status: 401 Unauthorized"
Jul 28 01:54:44 ip-10-5-4-12.empire dockerd: time="2015-07-27T22:54:44.165942820Z" level=info msg="GET /images/quay.io/bronislav/clsi-sharelatex:latest/json"
Jul 28 01:54:44 ip-10-5-4-12.empire dockerd: time="2015-07-27T22:54:44.168810650Z" level=error msg="Handler for GET /images/{name:.*}/json returned error: No such image: quay.io/bronislav/clsi-sharelatex:latest"
Jul 28 01:54:44 ip-10-5-4-12.empire dockerd: time="2015-07-27T22:54:44.168851981Z" level=error msg="HTTP Error" err="No such image: quay.io/bronislav/clsi-sharelatex:latest" statusCode=404 It seems to me that empire trying to authenticate with dockerhub instead of quay.io. After I manually pull desired image on the empire host - empire found this image and proceed with deployment. |
This is officially supported after #692 is merged. |
Currently there is the ability to auth a Docker Hub account. it would be nice to do the same for any registry.
The text was updated successfully, but these errors were encountered: