Perhaps the sandstorm project will help? Then your mobile phone talks to your personal server in the cloud, which can more easily participate in a distributed system.
Sandstorm uses the same Linux syscalls as Docker for containerization. It may actually be what you're looking for. Try the demo: https://demo.sandstorm.io