After filling .env I still can't push the docker image to ACR:
The push refers to repository [ZZZZZZZZZ.azurecr.io/mysamplemodule1]
65c5cf485471: Preparing
3d34bf3bd18c: Preparing
d27f03b8c35c: Preparing
4fa02ffd21f7: Preparing
750bc07a1d99: Preparing
96d34cb80eb6: Waiting
c5a11fc258f4: Waiting
bbe892a9c337: Waiting
a2e66f6c6f5f: Waiting
unauthorized: authentication required
I can work around by first logging in the docker client:
docker login <ACR_domain_name>
⚠Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
@CIPop Thanks for the feedback! I have assigned the issue to the content author to evaluate and update as appropriate.
@shizn The first step should be to authenticate and then proceed with the steps outlined.
To push an image, we need to do docker login first on the development machine.
The credentials in the env file are for the edge runtime. So that the edge runtime can pull down the image from the ACR.
We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.
Most helpful comment
To push an image, we need to do docker login first on the development machine.
The credentials in the env file are for the edge runtime. So that the edge runtime can pull down the image from the ACR.