Can Docker containers run in Windows IoT Core
Asked Answered
L

3

13

Is there a way to run a Docker container in Windows IoT Core? 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.

Lozier answered 5/6, 2017 at 14:12 Comment(3)
I'm interested in this as well. It would be a great way to create small servers running all kinds of things.Robbie
yeah, would also like to know this!Herzl
I'm interested in this as well.Wolk
B
5

Last Friday, Azure IoT Edge v2 launched in Public Preview yesterday with out-of-box support for native Windows containers! There is even a how-to for deploying on Windows IoT Core with a compatible x64-based board*.

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.

*Note: Windows containers require x64-based processor support, they won’t work on ARM32-based devices like Raspberry Pi.

Buonaparte answered 21/11, 2017 at 12:25 Comment(1)
There appears to be an ARM-based Windows image now.. hub.docker.com/_/microsoft-windows-nanoserverMarsden
D
5

As of IoT Core version 16299, released on 17 October, this feature is in preview.

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

You can run Nano Server Core containers on 64-bit Windows 10 IoT core. It is likely to be amd64 only at this point.

Discernment answered 25/10, 2017 at 22:5 Comment(0)
B
5

Last Friday, Azure IoT Edge v2 launched in Public Preview yesterday with out-of-box support for native Windows containers! There is even a how-to for deploying on Windows IoT Core with a compatible x64-based board*.

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.

*Note: Windows containers require x64-based processor support, they won’t work on ARM32-based devices like Raspberry Pi.

Buonaparte answered 21/11, 2017 at 12:25 Comment(1)
There appears to be an ARM-based Windows image now.. hub.docker.com/_/microsoft-windows-nanoserverMarsden
Z
-1

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. 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. Third, the hardware running Windows 10 IoT Core (and Docker and its container) would have to support all these functions. 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.

Zaslow answered 2/10, 2017 at 20:54 Comment(3)
Docker runs on Raspbian so the hardware is capable. raspberrypi.org/blog/docker-comes-to-raspberry-piWear
A blanket no IS incorrect. It doesn't run on the RPI - IoT-Core because of .NET Core issues.Buonaparte
Note that at the time this answer was given, it was correct.Discernment

© 2022 - 2024 — McMap. All rights reserved.