Ménage à trois: Pi 1 and 2 have a forbidden love affair with Docker
blog.hypriot.com
blog.hypriot.com
- You can't access some things from inside containers, e.g. Bluetooth LE.
- Processes that run in separate containers don't use shared libraries (shared RAM) so they weigh more. At least I believe so.
I recently built 5 Raspberry Pis for IoT data collection purposes, and they were slow and unreliable when running multiple Node.js apps in Docker containers. Moving the Node apps to run under plain Arch Linux systemd made the Pies noticeably more reliable and efficient.
This article looks at the different aspects of using '--privileged': http://developerblog.redhat.com/2014/11/06/introducing-a-sup...
Docker is interesting to look at because if you have N IoT devices, deployment becomes the problem.
On top of that, it would be awesome if you could release the repo with the source, makefiles and stuff...
Love to hear your feedback!
(if there aren't any extra APT repos, is there a source tree/recipe to upgrade to later versions?)