Using Docker on Android

Can I create a Docker app on Android? I noticed that it’s not now, but the kernel is based on the Linux kernel. If there is a way to do this without rooting, all the better!

Some of the reasons I couldn’t do this are because although Android is based on the Linux kernel, it is likely to be heavily modified, and that Android is usually based on ARM rather than x86, as on most desktop computers and laptops currently running Docker, I don’t know if Docker should be on x86 / amd64, but I can’t imagine that this helps. In addition, the Boot2Docker rifle was created on Windows and Mac because they are not Linux and therefore cannot process Docker initially, it is based on TinyCore Linux, but it takes up 20 GB more than any, but the latest, biggest androids. I guess there is a reason for this huge size. However, it is possible, if necessary, someone can port this distribution to Android.

Is there anything else I'm missing? Is it possible to create a Docker app for Android (or, for that matter, iOS or Windows Phone)? If not, why not? If so, does anyone know of any progress?

+7
android docker mobile
source share
1 answer

Android apps are already running as containers on top of Linux, like docker, using groups / namespaces. To run docker on android, it needs to support the docker highlevel API . There is a discussion on the Internet, but most of them indicate the aufs file system as a blocker, which needs an alternative.

Docker supports alternative file systems , but using an alternative platform requires different images than a regular 64-bit user base, similar to using Docker on 32-bit. Here's a good introduction to running Docker on ARM devices , which covers a lot of what is involved. This was written before alternative file systems were introduced, but they talk about them near the end.

+12
source share

All Articles