Closed Cryptophobia closed 7 years ago
Yes, this is indeed a duplicate of deis/registry#64. Did you try out the workarounds posted further below the comment chain?
@bacongobbler Hi and thanks for the help!
Actually we tried the workaround that you posted with the patch that is applied on top of workflow-dev
chart posted here: https://github.com/deis/registry/issues/64#issuecomment-255222613
However, this did not work for us as we were getting the same error with the docker client using the wrong version of the docker registry api.
To fix this we went back to using the --insecure-registry
flags on our docker startup scripts and reverted to using the older chart for workflow-v2.7.0
with the patch and instructions that you provided in https://github.com/deis/registry/issues/64#issuecomment-254916941
What would be another way we can fix this issue because we want to use the latest chart workflow-2.9.0
if possible.
Would the way to go be to apply the same patch on top of workflow-v2.9.0
and use the --insecure-registry
flags?
Another way to fix this would be to use an external container registry like ECR or GCR. That way you bypass the registry-proxy entirely which depends on host port binding to work.
@bacongobbler 🥇 We deployed with a external ECR like you said and we managed to bypass the registry-proxy completely. No need for the workarounds anymore. Thanks!
Hi Deis Devs,
We are encountering an error with the registry-proxy component as it calls the deisbuilder component when we try to pull the example docker application. The reason for the error may be that the Docker python library is picking the wrong api version (v1 vs. v2) when it hits the dockerbuilder with the POST.
Notice the
10.42.0.8 "POST /v2/apps/global-inventor/builds/ HTTP/1.1" 400 124 "Deis Client v2.13.0"
at the end of the log.Is this related to https://github.com/deis/registry/issues/64#issuecomment-249275607 and how do we get around it?