简体   繁体   English

Docker容器可以在Windows IoT Core中运行

[英]Can Docker containers run in Windows IoT Core

Is there a way to run a Docker container in Windows IoT Core? 有没有办法在Windows IoT Core中运行Docker容器? I have seen it can be used in Azure, Windows Server and desktop W10 but there is no evidence about Windows IoT Core and I am not sure if some of the already existing installations of docker-engine is compatible with IoT Core or it is just not possible. 我已经看到它可以在Azure,Windows Server和桌面W10中使用,但没有关于Windows IoT Core的证据,我不确定一些现有的docker-engine安装是否与IoT Core兼容,或者它不是可能。

As of IoT Core version 16299, released on 17 October, this feature is in preview. 自10月17日发布的物联网核心版本16299起,此功能已预览。

https://developer.microsoft.com/en-us/windows/iot/docs/whatsnew https://developer.microsoft.com/en-us/windows/iot/docs/whatsnew

You can run Nano Server Core containers on 64-bit Windows 10 IoT core. 您可以在64位Windows 10 IoT核心上运行Nano Server Core容器。 It is likely to be amd64 only at this point. 此时可能只是amd64。

Last Friday, Azure IoT Edge v2 launched in Public Preview yesterday with out-of-box support for native Windows containers ! 上周五, Azure IoT Edge v2昨天在Public Preview中推出,对本机Windows容器提供开箱即用的支持! There is even a how-to for deploying on Windows IoT Core with a compatible x64-based board*. 甚至有一个如何对用于兼容基于x64的主板在Windows物联网核心部署*。

First party modules like Azure Functions, Azure Stream Analytics, Modbus and a cool developer experience in VS Code for authoring custom modules all work great with Windows containers on both Windows 10 and IoT Core. Azure函数,Azure流分析,Modbus等第一方模块以及VS Code中用于创作自定义模块的强大开发人员体验都适用于Windows 10和IoT Core上的Windows容器。

*Note: Windows containers require x64-based processor support, they won't work on ARM32-based devices like Raspberry Pi. *注意:Windows容器需要基于x64的处理器支持,它们不适用于基于ARM32的设备,如Raspberry Pi。

The short answer is, no. 最简洁的答案是不。 This is because Windows 10 IoT Core is an OS that supports a set of features that overlap with Windows 10 desktop, but there is no version of Docker that runs on that currently. 这是因为Windows 10 IoT Core是一个支持一组与Windows 10桌面重叠的功能的操作系统,但目前没有可运行的Docker版本。 Off the top of my head, there would be a few concerns with creating such a version. 在我的头脑中,创建这样一个版本会有一些问题。 First, the implementation of Docker would have to be runnable (use features that the OS supports), and second, the features utilized in the container would need to be virtualized by Docker in form that are supported in Windows 10 IoT Core. 首先,Docker的实现必须是可运行的(使用操作系统支持的功能),其次,容器中使用的功能需要由Docker以Windows 10 IoT Core支持的形式进行虚拟化。 Third, the hardware running Windows 10 IoT Core (and Docker and its container) would have to support all these functions. 第三,运行Windows 10 IoT Core(以及Docker及其容器)的硬件必须支持所有这些功能。 Maybe some do and some don't. 也许有些人做,有些则做不到。 The problem might be whether or not the hardware such as a Raspberry Pi or Minnowboard supports virtualization in a way that this would be a practical scenario. 问题可能在于Raspberry Pi或Minnowboard等硬件是否支持虚拟化,这将是一种实际情况。

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

相关问题 Docker 可以在 Windows 10 IoT Enterprise 上运行吗? - Can Docker run on Windows 10 IoT Enterprise? 我可以在Windows 7上使用docker-toolbox运行Windows容器吗? - Can I run windows containers using docker-toolbox on windows 7? Windows Server Core Docker Containers 网络问题 - Windows Server Core Docker Containers networking problem In Docker Desktop for windows 10 with WSL2, where does docker containers live & how Linux containers can run a java app, but not windows nanoserver? - In Docker Desktop for windows 10 with WSL2, where does docker containers live & how Linux containers can run a java app, but not windows nanoserver? linux 容器可以在 Windows 服务器容器上运行吗? - Can linux containers run on Windows Server containers? Docker for Windows如何运行Linux容器? - How does Docker for Windows run Linux containers? Windows容器在docker上的运行速度非常慢 - Very slow RUN on docker on windows containers 带有Linux容器的Windows版Docker可以在VMware vSphere Windows 10 VM上运行吗? - Can Docker for Windows with Linux containers run on a VMware vSphere Windows 10 VM? 我可以在 VM EFLOW(windows 设备上的 Azure IoT edge)上运行 docker 下的 Node-Red 吗? - Can I run Node-Red under docker on VM EFLOW (Azure IoT edge on windows Device)? 在google cloud iot core中运行Docker或云功能 - Run Docker or cloud functions in google cloud iot core
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM