【问题标题】:Running windows container on linux host在 linux 主机上运行 windows 容器
【发布时间】:2017-10-10 08:18:19
【问题描述】:

我在 Ubuntu 16.04 上安装了 docker CE,当我尝试时:

docker pull microsoft/windowsservercore

失败了:

Using default tag: latest
latest: Pulling from microsoft/windowsservercore
3889bb8d808b: Pulling fs layer 
da87b55a9b63: Pulling fs layer 
image operating system "windows" cannot be used on this platform

是否可以使用 docker 在 linux 主机上运行 windows 映像?如果是,我应该怎么做?

【问题讨论】:

标签: linux windows docker cross-platform


【解决方案1】:

与其他虚拟计算系统(如 Virtual Box 或 VMWare)不同,Docker 映像很小且不完全独立的实体。

Docker 镜像不包含 OS 内核,而是使用 Docker 主机的内核

这使得映像的重量非常轻,但这也意味着您将无法在 Linux 主机上运行 Windows 映像。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2022-10-06
    • 2020-08-31
    • 1970-01-01
    • 1970-01-01
    • 2017-02-01
    • 2019-10-13
    • 2021-08-24
    • 2021-03-24
    相关资源
    最近更新 更多