Hacker News new | ask | show | jobs
by kennu 4141 days ago
Docker on ARM is cool, but it also adds some complexity and heaviness.

- 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.

3 comments

Well I did not try to use bluetooth from a container yet, but did you run those containers with '--privileged' as part of the docker run command?

This article looks at the different aspects of using '--privileged': http://developerblog.redhat.com/2014/11/06/introducing-a-sup...

Your shared library assertion is incorrect, at least on Intel machines. See Solomon Hykes' reply on this thread: https://groups.google.com/forum/m/#!msg/docker-user/wCDC_sXz...
"... Moving the Node apps to run under plain Arch Linux systemd made the Pies noticeably more reliable and efficient. ..."

Docker is interesting to look at because if you have N IoT devices, deployment becomes the problem.