<p>I’m a mobile developer and recently adept at using containers with docker. I’m developing a container architecture for my graduate project. One of the modules of this architecture would need to be run on an android device. But I could not find information on how to run a container on an android device. It could be something simple like an alpine image with python.</p>
<p>Can anyone tell me if there is a possibility to run a container on an android device with docker, or even kubernetes?</p>

<p>In 2021, the answer is definitely yes.</p>
<p>Here is a <a href="https://gist.github.com/FreddieOliveira/efe850df7ff3951cb62d74bd770dce27" rel="noreferrer">tutorial</a> on that topic, which shows you how to run docker directly on Android, without VMs nor chroot. Note that you do need to root your phone and build a custom kernel though.</p>
<p>If you only want a quick look of docker running on android without getting your hands dirty, check out this <a href="https://github.com/termux/termux-root-packages/issues/60#issuecomment-645143179" rel="noreferrer">comment</a> on GitHub.</p>
