Azure-devops-docs: How to use the Docker images on Amazon ECR?

Created on 3 Oct 2019  ·  3Comments  ·  Source: MicrosoftDocs/azure-devops-docs

Related to https://github.com/MicrosoftDocs/vsts-docs/issues/1929. It is said to use the Docker Registry service connection, but it won't work because the token will expire in 12 hrs. The AWS extension provides the ECR pull task, maybe we can make use of that.


文档详细信息

请勿编辑此部分。 docs.microsoft.com ➟ GitHub 问题链接必须具有此部分。

Pri1 devops-cictech devopprod doc-enhancement

Most helpful comment

Any update on using this with containers published to ECR?

All 3 comments

Any update on using this with containers published to ECR?

@shashankbarsin is there any chance you could help me out here? You're a container guru and I have no experience with ECR.

After doing some research, I see now that Amazon ECR has a proprietary mechanism for getting an auth credential that Docker understands. This means that, without feature work in the Azure Pipelines agent, this likely won't work.

If anyone is keen to have this feature, we accept pull requests on https://github.com/microsoft/azure-pipelines-agent. The work would be in converting an AWS service connection (which contains an access key ID and secret access key) to a Docker login using the details here.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

cijujoseph picture cijujoseph  ·  3Comments

adnanebrahimi picture adnanebrahimi  ·  3Comments

KacperMucha picture KacperMucha  ·  3Comments

EM1L picture EM1L  ·  3Comments

LennartAJansson picture LennartAJansson  ·  3Comments