未加星标

Open source ResinOS adds Docker to ARM/Linux boards

字体大小 | |
[系统(linux) 所属分类 系统(linux) | 发布者 店小二05 | 时间 2016 | 作者 红领巾 ] 0人收藏点击收藏

Resin.io has spun off the Yocto-based OS behind its Resin.io IoT framework as a ResinOS 2.0 distro for running Docker containers on linux IoT devices.

Resin.io, the company behind the Linux/javascript-based Resin.io IoT framework for deploying applications as Docker containers, began spinning off the Linux OS behind the framework as an open source project over a year ago. The open source ResinOS is now publicly available on its own in a stable 2.0.0-beta.1 version, letting other developers create their own Docker-based IoT networks. ResinOS can run on 20 different mostly ARM-based embedded Linux platforms including the Raspberry Pi, BeagleBone, and Odroid-C1, enabling secure rollouts of updated applications over a heterogeneous network.


Open source ResinOS adds Docker to ARM/Linux boards

ResinOS 2.0 architecture

(click image to enlarge)

When enterprise-level CIOs are asked to integrate embedded devices into their networks, their first question is usually “Can they run Docker?” The answer is probably not, especially if they run on ARM processors.

The open source Linux CoreOS , which is one of the most popular distributions for deploying virtualized Docker containers, supports only x86-64, although attempts have been made to port it to the Raspberry Pi . Whether ARM or x86, cloud-oriented platforms like CoreOS want to see a nice clean server-like environment, not an idiosyncratic embedded board with limited resources and weird add-ons and usage scenarios. Other Docker-friendly IoT-oriented Linux distributions include the Red Hat based Project Atomic , which has demonstrated a “Subatomic Cluster” running on four x86-based MinnowBoard Turbots, but is otherwise an enterprise server-oriented system.

A more appropriate comparison for ResinOS isSnappy Ubuntu Core, which supports Docker containers on a growing number of ARM and x86 embedded targets including the Raspberry Pi . The list of supported devices on ResinOS is a bit longer and more diverse than Snappy’s, especially on the ARM side, although both are expanding quickly (see farther below).

Resin.io decided to build its own OS for the Resin.OS framework because it was easier than trying to modify an existing cloud-oriented OS. “Because of the complexity required to work across many different network conditions as well as on embedded boards with diverse architectures, boot procedures, kernel configurations, and so forth, existing cloud-focused container OS solutions did not fit our needs,” says the ResinOS announcement. “At the same time, existing embedded operating systems and frameworks were not designed for constant updates or containers. We had to create something new from the best of both worlds.”

Yocto Project, systemd, and Docker

ResinOS builds upon the Yocto Project, and like CoreOS, leverages Docker and systemd control services along with a networking stack. As long as your board is on the target list, the minimalist ResinOS abstracts the complexity of working with Yocto Project code, enabling developers to quickly deploy Docker containers.

“ResinOS uses containers to run arbitrary base images within which developers can work, so that their interaction with the host userspace is rare,” says Resin.io. “In this way we get the considerable portability benefits of Yocto, without suffering the workflow drawbacks for application developers.”

ResinOS is touted as being designed to meet the challenges of embedded IoT devices such as extreme heterogeneity of device types, and restricted storage, CPU, and networking capabilities. The OS is also said to be accept custom hardware attachments and gracefully handle issues like power outages and device failure.

ResinOS 2.0 beta will become available in the commercial Resin.IO framework “within the next few months,” says Resin.IO, but is available now in the standalone version. New features include a read-only root partition for more robust updates, and the replacement of the BRTRFS filesystem with AUFS, which has better reporting of free storage.

ConnMan is replaced by Network Manager, due in part to its “stellar” cellular support. There’s also a new Resin Device Toolbox (RDT) with utilities for booting devices and deploying application containers.

HW support: Pi, BeagleBone, Artik, and more

Like Snappy Ubuntu Core, ResinOS supports ARM boards like the BeagleBone Black, Odroid-C1, and Raspberry Pi, including the Pi 3. It also similarly supports x86 targets like theIntel NUC mini-PC form factor.


Open source ResinOS adds Docker to ARM/Linux boards
Parallella

Unlike Snappy, ResinOS supports the Odroid-XU4 and Xilinx Zynq-xz702 eval kit, and the similarly Zynq 7000-based Parallella. ResinOS can run on a variety of NXP i.MX6 based SBCs including the SolidRun Hummingboard, Boundary Devices Nitrogen6, and VIA Technologies VAB-820. It also supports i.MX6-based COMs like the Toradex Colibri and Technologic TS7700 andTS4900. ResinOS offers additional support for the ARM-basedSamsung Artik modules, which should appear soon on the official list of Snappy targets.


Open source ResinOS adds Docker to ARM/Linux boards
Samsung Artik boards

Snappy Ubuntu Core offers its own unique targets. These include theRoseapple Pi, as well as a variety of Gumstix boards such as the Overo, DuoVero, and Panda. It also supports several 96Boards SBCs like the Hikey, Guitar, andBubblegum-96. In addition, Snappy has appeared in products including Erle Robotics drones, Dell Edge Gateways,Nextcloud Box, andLimeSDR.

Further information

The ResinOS 2.0.0-beta.1 is available for free download at the ResinOS page . More info can also be found in Resin.IO’s ResinOS 2.0 announcement .

本文系统(linux)相关术语:linux系统 鸟哥的linux私房菜 linux命令大全 linux操作系统

主题: DockerLinuxRaspberry PiCoreOSUbuntuJavaCIOCPUUFAU
分页:12
转载请注明
本文标题:Open source ResinOS adds Docker to ARM/Linux boards
本站链接:http://www.codesec.net/view/484287.html
分享请点击:


1.凡CodeSecTeam转载的文章,均出自其它媒体或其他官网介绍,目的在于传递更多的信息,并不代表本站赞同其观点和其真实性负责;
2.转载的文章仅代表原创作者观点,与本站无关。其原创性以及文中陈述文字和内容未经本站证实,本站对该文以及其中全部或者部分内容、文字的真实性、完整性、及时性,不作出任何保证或承若;
3.如本站转载稿涉及版权等问题,请作者及时联系本站,我们会及时处理。
登录后可拥有收藏文章、关注作者等权限...
技术大类 技术大类 | 系统(linux) | 评论(0) | 阅读(31)