I am trying to use our ECR to launch instances on Azure DC/OS Container service. I used ssh to login to master on Azure and install awscli there I can execute aws ecr get-login --no-include-email
on master and get the docker login ...
command that I am supposed to execute. When I do it, nothing happens. I did echo $?
afterwards and I get status code 1. That means something went wrong. AWS user access key and secret access key that I am using, have policy permissions ecr:GetAuthorizationToken
assigned to it.
Anyone have experience with this or can point me in the right direction? Last resort is to replicate AWS ECR to Azure ACR.