So I am using Amazon Elastic Container Registry (ECR) to store our containers. I have a container that is built using a Microsoft base image:
mcr.microsoft.com/dotnet/framework/aspnet:4.8-windowsservercore-ltsc2016
What I am finding is that when I then push my container image to Amazon ECR, and then later I pull this image - it is STILL downloading the base layer from mcr.microsoft.com!
I am using Docker for Windows Server (not Docker for Linux).
I don't want this because mcr.microsoft.com is super slow and unreliable. Plus Microsoft keeps breaking the links by changing the names of the servers.
How do I get docker to NOT store an "external link" for the first layer to mcr.microsoft.com and instead store everything on Amazon ECR?