Public Repository

Last pushed: 8 months ago
Short Description
A ready to develop docker container with the ionic framework (v2). Based on the official node image.
Full Description

ionic-2


Looking for the last ionic version ? Find it here

Based on official docker node image

Last image update: 2017-02-18

A ready to develop docker container with the ionic framework (v2), including:

  • ionic -v --> 2.2.1
  • node -v --> v7.5.0
  • npm -v --> 4.1.2
  • bower -v --> 1.8.0
  • gulp -v --> CLI version 3.9.1
  • cordova -v --> 6.5.0
  • java -version --> java version "1.8.0_121" Java HotSpot(TM) 64-Bit Server VM (build 25.121-b13, mixed mode)
  • Android SDK:
    • 1- Android SDK Tools, revision 25.2.5
    • 2- Android SDK Platform-tools, revision 25.0.3
    • 3- Android SDK Build-tools, revision 25.0.2
    • 6- Android SDK Build-tools, revision 24.0.3
    • 10- Android SDK Build-tools, revision 23.0.3
    • 14- Android SDK Build-tools, revision 22.0.1
    • 16- Android SDK Build-tools, revision 21.1.2
    • 23- Android SDK Build-tools, revision 19.1
    • 32- Documentation for Android SDK, API 24, revision 1
    • 33- SDK Platform Android 7.1.1, API 25, revision 3
    • 34- SDK Platform Android 7.0, API 24, revision 2
    • 35- SDK Platform Android 6.0, API 23, revision 3
    • 36- SDK Platform Android 5.1.1, API 22, revision 2
    • 38- SDK Platform Android 4.4W.2, API 20, revision 2
    • 124- Google APIs, Android API 24, revision 1
    • 160- Android Support Repository, revision 43
    • 166- Google Play services, revision 39
    • 167- Google Repository, revision 44
    • 168- Google Play APK Expansion library, revision 1
    • 169- Google Play Licensing Library, revision 1
    • 170- Google Play Billing Library, revision 5
    • 171- Android Auto API Simulators, revision 1
    • 172- Google Web Driver, revision 2

How to use it ?

docker pull netizy/ionic-2

docker run -i -t -d --name ionic-dev -v /home/eclipse/Desktop/projects/ionic/:/projects/ionic/ -p 8100:8100 -p 35729:35729 netizy/ionic-2

docker exec -i-t ionic-dev /bin/bash

# cd /projects/ionic/
# ionic start MyIonic2Project tutorial --v2
# cd MyIonic2Project/
# ionic serve

How to ... ?

Debug using master host browser

When the system ask which address you want to use, please select eth0 to be able to debug your app using your master host browser !

Multiple addresses available.
Please select which address to use by entering its number from the list below:
 1) 172.17.0.1 (eth0)
 2) localhost

Run app on your android device through USB:

docker run -i -t -d --name ionic-dev -v /home/eclipse/Desktop/projects/ionic/:/projects/ionic/ -p 8100:8100 -p 35729:35729 --privileged -v /dev/bus/usb:/dev/bus/usb netizy/ionic-2

# ionic run android
Docker Pull Command
Owner
netizy

Comments (3)
mauriziopinzi
3 months ago

Can I use it to build an APK?
I mean using the command
ionic cordova build android

mitarcon
8 months ago

Hello, I have doubt.
I can't use
$ionic serve --lab and when run this, the container print "Please install your Cordova CLI to version >=4.2.0 npm install -g cordova".
Do you help me?

maheshattarde
10 months ago

ionic serve complains about "UnhandledPromiseRejectionWarning: Unhandled promise rejection", when saved on going dev. Is there fix?