我在 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/