How to cache Windows docker images on Linux?

423 Views Asked by At

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.

1

There are 1 best solutions below

0
On BEST ANSWER

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.