TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

ResinOS, run Docker containers on embedded devices

160 pointsby lifeeth_over 8 years ago

9 comments

chapingtover 8 years ago
I always have trouble calling platforms that can run a system of this magnitude "embedded." For some reason I always had the term "single-purpose" linked with the idea of an embedded system. Once you add tons of RAM, a relatively powerful processor, and can only last a couple of hours on a battery--I feel like then it's just a small general purpose computer.
评论 #12688265 未加载
评论 #12688150 未加载
评论 #12689781 未加载
评论 #12687916 未加载
评论 #12687788 未加载
评论 #12687817 未加载
mrlambchopover 8 years ago
This is awesome!<p>I always loved Arduino as it promoted a few core ideas (apps are highly portable, the environment is standardized over boards and devices) - this allows the hobbyist &#x2F; stack overflow reader to make some awesome hacks in a few hours and really reduces the barrier to entry for maker projects. However, in the last few years, I&#x27;ve wanted a similar type of environment for all the Linux boards that now clutter my desk - the ability to run different apps on multiple boards without having to understand the depths of GPIO alternative function mapping and quirks of various distros.<p>Having a docker container approach where the app is sandboxed away is the right approach I think for this, but there should be a &quot;standard API&quot; as well put in place that the apps that be written against (and bindings to python, rust etc...) that is also emulated in a desktop or webpage environment. This container doesn&#x27;t support any HDMI output or full Debian environment - just a basic API to start with. Add PIP&#x2F;Cargo etc.. for advanced use cases. A movement away from Arduino might be around the corner if there is something as accessible but much more powerful available. The block is no doubt &quot;power management&quot; - suspending&#x2F;hibernating Linux boards for battery operation etc...<p>I hacked up a version of resinOS last year (using Android as the base Linux port) and running docker on a root FS but never took it anywhere as the day job (a different kind of startup) takes most cycles still. Can&#x27;t wait to install this later on a few Pi&#x27;s :)
评论 #12688260 未加载
djsumdogover 8 years ago
I&#x27;m using Docker more and I do like it (after a fashion), but I don&#x27;t want to move my embedded software to this model. I&#x27;ve got one OSS project written in Python and it can run on python-mini (used on OpenWRT) on tiny configurations (&lt;8MB rootfs).<p>It has minimal dependencies and doesn&#x27;t even need a virtual-env. It&#x27;s prepackaged in rpms, debs and apks. It needs raw access to GPIO and USB. ResinOS, which technically interesting, seems like way too much and another layer I just don&#x27;t need.<p>I don&#x27;t want to sound like a dick, because I&#x27;m sure the authors put a lot of work into this, but I really don&#x27;t think this is a good pattern at all.<p>If I had to write my client again today, I&#x27;d probably write it in RUST&#x2F;LLVM, giving me even less of a reason to stick it in a docker container on my device with &lt;8MB storage space.
评论 #12689504 未加载
评论 #12690946 未加载
alexandrosover 8 years ago
Hi everyone, resin.io founder here, happy to answer any and all questions. We just released resinOS at ELCE a few hours ago (Embedded Linux Coference, Europe), happy to see it made HN!
评论 #12691122 未加载
评论 #12687822 未加载
评论 #12687751 未加载
评论 #12687977 未加载
评论 #12688128 未加载
评论 #12689587 未加载
评论 #12689790 未加载
评论 #12688465 未加载
评论 #12689565 未加载
timangladeover 8 years ago
Congrats on launching! Testing &amp; deployment of stable configs is arguably even more of an issue in embedded development than in web, so I&#x27;m sure this will make a lot of people very giddy! Are y&#x27;all 100% happy with the technical design assumptions &amp; requirements of Docker, or did you mainly pick it so you could bridge with the existing community (or a bit of both?)
评论 #12687923 未加载
woodcutover 8 years ago
I think nerves[1] needs a mention here... it&#x27;ll pack your elixir application with a minimal linux kernel onto a read only sd card for use with a raspberry pi or BeagleBone.<p>[1] <a href="http:&#x2F;&#x2F;nerves-project.org" rel="nofollow">http:&#x2F;&#x2F;nerves-project.org</a>
tostitos1979over 8 years ago
Very cool stuff! Some boards, like the beaglebone, have specialized hw like PRUs or I2C pins. Is it possible to access these with Docker containers? Also, what is the minimum memory footprint? i.e. how many containers can I fit within say 1 GB.
评论 #12687619 未加载
CamperBob2over 8 years ago
<i>After about 30 seconds or so your device should be up and connected to your local network, you should see it broadcasting itself as resin.local.</i><p>Why does it take so long to boot? Is it limited by the speed of the SD card? I wonder how it would do on a Zynq platform with QSPI flash.
imrehgover 8 years ago
Some more notes and details from the blog: <a href="https:&#x2F;&#x2F;resin.io&#x2F;blog&#x2F;introducing-resinos&#x2F;" rel="nofollow">https:&#x2F;&#x2F;resin.io&#x2F;blog&#x2F;introducing-resinos&#x2F;</a>