简体   繁体   English

如何切换 Docker 模式(Linux/Windows)? 清单列表条目中没有匹配的 linux/amd64 清单

[英]How to switch Docker mode(Linux/Windows)? no matching manifest for linux/amd64 in the manifest list entries

I am on Windows 10 Simple image building does not work我在 Windows 10 简单的图像构建不起作用

docker run -it --rm mcr.microsoft.com/windows/nanoserver:1809
Unable to find image 'mcr.microsoft.com/windows/nanoserver:1809' locally
1809: Pulling from windows/nanoserver
docker: no matching manifest for linux/amd64 in the manifest list entries.

Docker version shows Docker版本显示

Client:
 Cloud integration: v1.0.20
 Version:           20.10.10
 API version:       1.41
 Go version:        go1.16.9
 Git commit:        b485636
 Built:             Mon Oct 25 07:47:53 2021
 OS/Arch:           windows/amd64
 Context:           default
 Experimental:      true

Server: Docker Engine - Community
 Engine:
  Version:          20.10.10
  API version:      1.41 (minimum version 1.12)
  Go version:       go1.16.9
  Git commit:       e2f740d
  Built:            Mon Oct 25 07:41:30 2021
  OS/Arch:          linux/amd64
  Experimental:     true

My settings我的设置在此处输入图像描述

在此处输入图像描述

How to fix this problem?如何解决这个问题?

Looks like you're in Windows Container, you need to switch to Linux Container.看起来您在 Windows Container 中,您需要切换到 Linux Container。
Then, wait for docker restart and retry.然后,等待 docker 重启并重试。

在此处输入图像描述

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Docker:“清单列表条目中没有与 windows/amd64 匹配的清单” - Docker: "no matching manifest for windows/amd64 in the manifest list entries" 清单列表条目中没有与 windows/amd64 10.0.17134 匹配的清单 - no matching manifest for windows/amd64 10.0.17134 in the manifest list entries 清单列表条目中没有与 windows/amd64 10.0.16299 匹配的清单 - no matching manifest for windows/amd64 10.0.16299 in the manifest list entries Docker 中 dotnet/aspnet:3.1 的清单条目中没有与 windows/amd64 10.0.14393 匹配的清单 - no matching manifest for windows/amd64 10.0.14393 in the manifest list entries for dotnet/aspnet:3.1 in Docker Docker Node js 中的“清单列表条目中的 windows/amd64 10.0.17134 没有匹配的清单” - Docker “no matching manifest for windows/amd64 10.0.17134 in the manifest list entries” in Node js 拉取 hello-world 图像时清单列表条目错误中没有 windows/amd64 10.0.16299 的匹配清单 - no matching manifest for windows/amd64 10.0.16299 in the manifest list entries error on pulling hello-world image 获取:清单列表条目中没有与 windows/amd64 10.0.18362 匹配的清单 - Getting : no matching manifest for windows/amd64 10.0.18362 in the manifest list entries Windows / amd64没有匹配的清单 - no matching manifest for windows/amd64 aspnetcore-runtime:从 microsoft/dotnet 中提取的清单列表条目中没有与 windows/amd64 10.0.17134 匹配的清单 - aspnetcore-runtime: Pulling from microsoft/dotnet no matching manifest for windows/amd64 10.0.17134 in the manifest list entries Windows / amd64 Server 2016没有匹配的清单 - no matching manifest for windows/amd64 Server 2016
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM