Ionic-framework is a ready-to-go hybrid deveopment environment for building mobile apps with Ionic, Cordova, and Android. This is Docker image based on the Vagrant ionic-box (from driftyco/ionic-box) to build the ionic-framework.
sudo docker run -it --rm --name ionic-framework -p 8100:8100 -p 35729:35729 gleclaire/ionic-framework
- App is running on http://$DOCKER_HOST:8100 which by default is http://192.168.59.103/:8100
If you have your own ionic sources, you can launch it with:
sudo docker run -ti -p 8100:8100 -p 35729:35729 -v /path/to/your/ionic-project/:/myApp gleclaire/ionic-framework /bin/bash
Enable USB for the container
sudo docker run -ti --rm -p 8100:8100 -p 35729:35729 --privileged -v /dev/bus/usb:/dev/bus/usb -v \$PWD:/myApp gleclaire/ionic-framework adb list