在Android上运行docker [英] Running docker on Android
问题描述
Google使用Android 4.4 KitKat将linux内核升级到3.8版,这是Docker所需的内核版本.
With Android 4.4 KitKat, Google is upgrading linux kernel to version 3.8 which is the required kernel version for Docker.
我不知道AUFS部分,但是有没有办法通过此更新在android上运行docker容器?
I don't know the AUFS part but will there be a way to run docker containers on android with this update?
推荐答案
根据文档,Android内核缺少了 LXC所需的内核功能.
According to the documentation, the Android kernel is missing quite a few of the kernel features needed by LXC.
也许将来使用Docker 1.x可能会编写一个使用Android功能而非LXC的插件.但是现在,您需要先构建一个自定义的Android内核,然后为其构建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.
有一些 史蒂芬·格拉伯(StéphaneGraber)在他的博客中对困难有一个很好的总结.
There are some people actually working on that, and Stéphane Graber has a good summary of the difficulties on his blog.
这篇关于在Android上运行docker的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!