简体   繁体   English

在Linux主机上运行Windows容器

[英]Running windows container on linux host

I installed docker CE on an Ubuntu 16.04, and when I try: 我在Ubuntu 16.04上安装了Docker CE,当我尝试时:

docker pull microsoft/windowsservercore

It fails: 它失败:

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

Is it possible to run a windows image on a linux host with docker? 是否可以在具有docker的Linux主机上运行Windows映像? If yes, how should I do that? 如果是,我该怎么办?

Unlike other Virtual computing systems like Virtual Box or VMWare, Docker images are small and not fully complete stand alone entities. 与其他虚拟计算系统(例如Virtual Box或VMWare)不同,Docker映像很小,并且不是完全完整的独立实体。

The Docker image does not include the OS kernel, instead it uses the kernel of the Docker host Docker映像不包含OS内核,而是使用Docker主机的内核

This makes the images very light weight, but it also means you won't be able to run a Windows image on a Linux host. 这使映像非常轻便,但是这也意味着您将无法在Linux主机上运行Windows映像。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 在docker窗口上运行linux容器 - Running linux container on docker windows Windows Host和Linux Docker Container之间的通信 - Communication between Windows Host and Linux Docker Container 如何在 linux 主机上运行 windows docker 容器? - How to run a windows docker container on linux host? 是否可以在 Windows AWS 实例上运行 Linux 容器? - Is running a Linux container on windows AWS instance possible? 在 Windows 机器上运行 Linux Docker 容器是否有先决条件? - Is there a prerequisite to running a Linux Docker container on a Windows machine? 如何将 windows 共享挂载到 pod 和 linux 主机内的 linux 容器中(Windows 共享在代理身份验证之后。) - How to mount a windows share to a pod and into linux container inside a linux host (Windows share is behind proxy auth.) 托管用Linux编写的服务,并通过Windows 7中运行的C#使用它 - Host a service written in linux and consume it through C# running in Windows 7 Windows 客户端无法与在 linux docker 容器中运行的服务器通信 - Windows client can't communicate with server running in linux docker container 在Windows Server上以Azure虚拟机运行的Linux容器 - Linux Container on Windows Server Running as Azure Virtual Machine 从 windows 浏览器访问在远程 linux 机器中运行的 docker 容器 - Accessing docker container running in remote linux machine from a windows browser
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM