Running docker on Android

Xelom picture Xelom · Oct 11, 2013 · Viewed 40.8k times · Source

With Android 4.4 KitKat, Google is upgrading linux kernel to version 3.8 which is the required kernel version for Docker.

I don't know the AUFS part but will there be a way to run docker containers on android with this update?

Answer

Rohan Singh picture Rohan Singh · Jan 13, 2014

According to the documentation, the Android kernel is missing quite a few of the kernel features needed by LXC.

Perhaps in the future with Docker 1.x, it might be possible to write a plugin that uses Android features instead of LXC. But for now, you would need to build a custom Android kernel and then build LXC for it.

There are some people actually working on that, and Stéphane Graber has a good summary of the difficulties on his blog.