HACKER Q&A
📣 Nickiler

How to use Docker in mobile apps?


I have a IoT company, and I keep getting issues with app versions done in react native and flutter. Devs change and then they say they can't compile it. I'm EE, so not fully knowledgable in the topic but in my mind docker is the answer, but they keep saying is not possible to use docker with apps. Is it true? help D:


  👤 talldayo Accepted Answer ✓
It's not possible. On Android you might be able to get some form of rootless container, but that would be so cursed that I don't even want to describe how it can be done. On iOS it is simply impossible without virtualization.

👤 tobinfekkes
Yes, it's true.

I just spent months getting an android/iOS mobile app up and running after it was abandoned by a previous dev group. What a pain. Just got it into the store last night.

Mobile apps are their own kinda beast. Docker would maybe be helpful if we could publish PWAs to the app stores. Even that sounds like a stretch though.

But Docker and current mobile app pipelines don't have any overlap. They're for different environments.