问题描述
docker拉取镜像失败,失败提示如下:
PS C:\Users\Administrator> docker pull pinetwork/pi-node-docker
Using default tag: latest
latest: Pulling from pinetwork/pi-node-docker
image operating system “linux” cannot be used on this platform
PS C:\Users\Administrator>
image 的信息如下
我的机器和Docker环境如下:
PS C:\Users\Administrator> docker info
Client:
Context: default
Debug Mode: false
Plugins:
app: Docker App (Docker Inc., v0.9.1-beta3)
cluster: Manage Mirantis Container Cloud clusters (Mirantis Inc., v1.9.0)
registry: Manage Docker registries (Docker Inc., 0.1.0)
Server:
Containers: 1
Running: 1
Paused: 0
Stopped: 0
Images: 2
Server Version: 20.10.9
Storage Driver: windowsfilter
Windows:
Logging Driver: json-file
Plugins:
Volume: local
Network: ics internal l2bridge l2tunnel nat null overlay private transparent
Log: awslogs etwlogs fluentd gcplogs gelf json-file local logentries splunk syslog
Swarm: inactive
Default Isolation: process
Kernel Version: 10.0 20348 (20348.1.amd64fre.fe_release.210507-1500)
Operating System: Windows Server 2022 Datacenter Version 2009 (OS Build 20348.1487)
OSType: windows
Architecture: x86_64
CPUs: 2
Total Memory: 1.899GiB
Name: happypiHost
ID: KQLN:RYWD:P5TR:ECXQ:TS7I:TAVR:OIEZ:T5UV:2DLK:IVYB:I24K:RWS7
Docker Root Dir: C:\ProgramData\docker
Debug Mode: false
Registry: https://index.docker.io/v1/
Labels:
Experimental: false
Insecure Registries:
127.0.0.0/8
Live Restore Enabled: false
期望结果
拉取image
已尝试的方法
PS C:\Users\Administrator> [Environment]::SetEnvironmentVariable(“LCOW_SUPPORTED”, “1”, “Machine”)
PS C:\Users\Administrator> Restart-Service docker
尝试docker 切换到linux内核,如上,问题依旧