Search code examples
dockerdocker-registrydocker-for-windowswindows-containercontainer-image

How to cache Windows docker images on Linux?


What is the best way to cache Windows container images on a Linux system? Setting up a registry mirror won't work because pulling a Windows image from Linux gets me a

no matching manifest for linux/amd64 in the manifest list entries

One option would be setting up the registry mirror in a Windows inside a Virtual Machine, but I hope there are better solutions.


Solution

  • The image architecture that Docker attempts to pull is determined by the client, not by the server. You can run your registry server under Linux and perform you docker push/pull from Windows.