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?
It is possible to use it for running docker on an android device using an application like termux or userland to install a qemu package. The best way is to use alpine linux terminal, an android app available on github.
Create a Linux VM and install Docker in it so you can (slowly) run x86 Docker containers on your Android device. Useful keys: Ctrl+a x: quit emulation. Ctrl+a h: toggle QEMU console.
In the case of Android for Work, apps don't need to be wrapped to work in Android 5.0 Lollipop's built-in container -- you can run any existing Play Store app in that container. However, wrapped apps are required for earlier versions of the Android for Work container app.
Podman is a project from Red Hat that is open source and free to download. It is a relative newcomer to the containerization scene, with version 1.0 being released in 2019.
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.
It depends if this kernel is compiled with the required features to run containers. If it's the case, then Docker could be used on Android (especially Docker 0.7, which is in release candidate state right now, and doesn't require AUFS anymore).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With