linux - 在 linux 主机上运行 windows 容器

标签 linux windows docker cross-platform

我在 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 镜像?如果是,我应该怎么做?

最佳答案

与 Virtual Box 或 VMWare 等其他虚拟计算系统不同,Docker 镜像很小,而且不是完全完整的独立实体。

Docker 镜像不包含操作系统内核,而是使用 Docker 主机的内核

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

关于linux - 在 linux 主机上运行 windows 容器,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46661797/

相关文章:

c++ - 这个 Windows API 调用 WaitForSingleObject 有什么问题?

docker - 将文件复制或scp到/var/lib/boot2docker以便由docker-machine管理的boot2docker VM

c# - 在Docker容器中运行SQLite内存中单元测试时出错

linux - 我在 bash 中的函数

linux - 为 bash 设置默认命令

windows - WMI 备忘单?

c++ - 在 C++ (Portaudio) 中捕获全局音频输出

docker - Centos -- Yum 更新错误 - “HTTP Error 403 - Forbidden”

linux - 向要监控的Nagios服务发送请求

c - 如何判断mpg321播放完一个文件