如何在Linux系统上缓存Windows docker镜像?

问题描述 投票:0回答:1

在Linux系统上缓存Windows容器镜像的最佳方法是什么?设置注册表镜像无法工作,因为从Linux拉取Windows映像得到的是一个----------------------------。

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

一种方案是在虚拟机内的Windows中设置注册表镜像,但我希望有更好的解决方案。

docker docker-registry docker-for-windows windows-container container-image
1个回答
1
投票

Docker试图拉取的镜像架构是由客户端决定的,而不是由服务器决定的。你可以在Linux下运行你的注册表服务器,并执行你的 docker push/pull 从Windows。

© www.soinside.com 2019 - 2024. All rights reserved.