Run balenaOS on top of OpenWrt

Is it somehow possible to run balenaOS on top of an already existing OpenWrt installation? This will open new opportunities for me e.g. running balenaOS on wifi routers.

Welcome to the forums @Mr_G - this is a very specific question which I cannot answer easily.
I have seen Docker running on OpenWRT in some extreme usecases with a lot of manual work on specific hardware. In general, you could get an ARMv7 / AARCH64 platform, compile a very specific / hacked together all things needed to support the balenaEngine and let it run on it. But getting balenaOS itself running on an OpenWRT router with support for balenaCloud will probably never happen.

The better idea would be to get a platform like Raspberry Pi 4 or some other supported router board, install balenaOS and pipe through interfaces to a dockerized OpenWRT instance, though I would not recommend it, being a networking purist ;).

So in general: On very specific hardware with a hacked together, self-compiled version as a edge-usecase for experimentation you might get balenaEngine running and balena/moby containers with that. But balenaCloud needs so much more than that (e.g. specific VPN configuration which is not accessible to the user, etc) - so no, this will not work.

2 Likes