Windows——Docker拉取Windows Server镜像

简介: Windows——Docker拉取Windows Server镜像

前言

microsoft-windows-server: https://hub.docker.com/_/microsoft-windows-server

内容

报错

manifest unknown: manifest tagged by "latest" is not found

[root@VM-0-11-centos ~]# docker pull mcr.microsoft.com/windows/server
Using default tag: latest
Error response from daemon: manifest for mcr.microsoft.com/windows/server:latest not found: manifest unknown: manifest tagged by "latest" is not found

因为windows server镜像没有维护latest的tag所以要拉取指定的tag

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

  1. 详细内容
PS C:\Users\WangYang> docker pull mcr.microsoft.com/windows/server:ltsc2022
ltsc2022: Pulling from windows/server
no matching manifest for linux/amd64 in the manifest list entries
  1. 解决方法

切换到windows containers | 因为我已经切换过了,所以显示的是Linux containers

  1. 切换到windows containers的时候发生了错误,根据docker提示运行了下面命令并重启docker后再次尝试切换到windows containers成功
PS C:\Users\WangYang> Enable-WindowsOptionalFeature -Online -FeatureName $("Microsoft-Hyper-V", "Containers") -All
Path          :
Online        : True
RestartNeeded : False

拉取

PS C:\Users\WangYang> docker pull mcr.microsoft.com/windows/server:ltsc2022
ltsc2022: Pulling from windows/server
6d889b139513: Pull complete
b71990f305d9: Pull complete
Digest: sha256:0a3e159a8f249003a526b0540eb2b417ea8bf81052c3c0f4e5930e874c76d239
Status: Downloaded newer image for mcr.microsoft.com/windows/server:ltsc2022
mcr.microsoft.com/windows/server:ltsc2022

学无止境,谦卑而行.

目录
相关文章
|
13天前
|
边缘计算 安全 网络安全
|
2天前
|
Docker 容器
docker:记录如何在x86架构上构造和使用arm架构的镜像
为了实现国产化适配,需将原x86平台上的Docker镜像转换为适用于ARM平台的镜像。本文介绍了如何配置Docker buildx环境,包括检查Docker版本、安装buildx插件、启用实验性功能及构建多平台镜像的具体步骤。通过这些操作,可以在x86平台上成功构建并运行ARM64镜像,实现跨平台的应用部署。
16 2
|
13天前
|
Java Docker 微服务
SpringBoot微服务打包Docker镜像
SpringBoot微服务打包Docker镜像
45 11
|
6天前
|
数据安全/隐私保护 Windows
安装 Windows Server 2019
安装 Windows Server 2019
|
6天前
|
Go Docker Python
docker的python与go镜像的制作
docker的python与go镜像的制作
14 1
|
9天前
|
网络协议 Windows
Windows Server 2019 DHCP服务器搭建
Windows Server 2019 DHCP服务器搭建
|
9天前
|
网络协议 定位技术 Windows
Windows Server 2019 DNS服务器搭建
Windows Server 2019 DNS服务器搭建
|
13天前
|
缓存 安全 Linux
docker镜像管理问题
【10月更文挑战第3天】
61 1
|
6天前
|
网络协议 Docker 容器
docker pull命令拉取镜像失败的解决方案
docker pull命令拉取镜像失败的解决方案
103 0
|
6天前
|
安全 网络协议 数据安全/隐私保护
Windows Server 2019 搭建并加入域
Windows Server 2019 搭建并加入域