The Ionic Framework is a spectacular way to leverage cross platform mobile applications development for prototyping, testing, and quick to market mobile applications development. There are some pitfalls that should be accounted for if you utilize Docker for Mac/Windows in your local development pipeline that need to be accounted for if you are looking to leverage both Ionic and Docker.
The first being that running the android emulator will fail if you are running the docker daemon.
emulator: ERROR: Unfortunately, there's an incompatibility between HAXM hypervisor and VirtualBox 4.3.30+ which doesn't allow multiple hypervisors to co-exist. It is being actively worked on; you can find out more about the issue at http://b.android.com/197915 (Android) and https://www.virtualbox.org/ticket/14294 (VirtualBox)
The most immediate solution to this would be to stop the docker daemon to test your android implementation of your mobile application. A simple solution but not something that facilitates end to end testing of your backend architecture with your mobile application.
I have still as of yet been unable to resolve this issue, in the interim I have designed and workaround to test build a development environment within GCP that accounts for testing your mobile analytics and backend functionality.
Ionic Framework: What it’s good for
A possible alternative solution to testing out your mobile applications is through the
ionic serve command.