I want to use local docker client with the Azure Container Registry. I got the access keys for ACR. I use them as below:
docker login <acrname>.azurecr.io
username: <type>
password:<copy/paste>
docker successfully logs me in.
docker image list
The above lists local images. So, how do I get docker client to select the ACR as registry by default?
If I can't do that, why doesn't the below work?
docker --host exampleacr.azurecr.io image list
Getting an error:
error during connect: Get http://exampleacr.azurecr.io:2375/v1.40/images/json: dial tcp 40.71.10.222:2375: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.