Docker Community Forums

Share and learn in the Docker community.

Running Docker container on iOS (and maybe Android)


(Anuj Vohra) #1

Hi,
I am in love with Docker. To make it cooler, would it be possible to run containers on the iPhones and Android devices, given that iOS is a pared down Linux. Can you imagine all the processing power this will unlock?


(Daniel Bushman) #2

I’m not a iOS developer, so anyone please jump in and correct me if I’m wrong. But I believe in this case it’s unfortunate that iOS isn’t built on a paired down Linux. It’s built on a FreeBSD flavor of Unix, and Docker specifically requires a Linux kernel to run.

That said, I am very curious if it’s possible to somehow run a bare bones virtual linux machine on iOS for this purpose, somehow, the same way that it’s done on Mac OS X. My gut says that this probably falls under the umbrella of restrictions I’ve heard of for iOS, about not being allowed to include certain kinds of third party libraries within apps.

Sorry for my ignorance, but I’m also curious and would like to see this conversation move forward.