Hey everyone, let's talk about Docker!
There's a good wiki page about how to run OpenWrt images on Docker. This post is about the converse situation--how to run a Docker container on an OpenWrt device.
First, what is a Docker container? A Docker container is a lightweight virtual machine. It's possible to run many Docker containers simultaneously on a low-end computer with excellent performance and low overhead. The promise (mostly true) is also that a Docker container can run on any Linux computer without modification.
It's the portability property that excites me about running Docker on OpenWrt because there's already a growing library of free Docker containers. If we can make it possible to run a Docker container on an OpenWrt box, then we can run these containers without modification.
OpenWrt already does a fantastic job of lowering the learning curve for me to create an application on a low-end device. I get to use Linux and a package manager that resembles the Debian one I'm used to. With Docker support this learning curve would go even further down to zero--to create a new application on an OpenWrt device I would just create a container the way I'm already creating containers that run in VirtualBox and on Amazon EC2. I would have the confidence of knowing that my applications would work without having to factor the idiosyncrasies of OpenWrt into my test cases.
Of course this will probably work only on beefier OpenWrt devices, which is fine with me. I don't think there should be any significant technical hurdles as someone has already figured out how to run Docker containers on Android.
What do you think?
(Last edited by NodeGuy on 28 Apr 2014, 03:29)