Public | Automated Build

Last pushed: 16 days ago
Short Description
Run ionic framework
Full Description

Simple image to run ionic framework


docker run -ti --rm -p 8100:8100 -p 35729:35729 agileek/ionic-framework

If you have your own ionic sources, you can launch it with:

docker run -ti --rm -p 8100:8100 -p 35729:35729 -v /path/to/your/ionic-project/:/myApp:rw agileek/ionic-framework:1.4.5


With this alias:

alias ionic="docker run -ti --rm -p 8100:8100 -p 35729:35729 --privileged -v /dev/bus/usb:/dev/bus/usb -v ~/.gradle:/root/.gradle -v \$PWD:/myApp:rw agileek/ionic-framework:1.4.5 ionic"

Due to a bug in ionic, if you want to use ionic serve, you have to use --net host option :

alias ionic="docker run -ti --rm --net host --privileged -v /dev/bus/usb:/dev/bus/usb -v ~/.gradle:/root/.gradle -v \$PWD:/myApp:rw agileek/ionic-framework:1.4.5 ionic"

Know you need gradle for android, I suggest to mount ~/.gradle into /root/.gradle to avoid downloading the whole planet again and again

you can follow the ionic tutorial (except for the ios part...) without having to install ionic nor cordova nor nodejs on your computer.

ionic start myApp tabs
cd myApp
ionic serve
# If you didn't used --net host, be sure to chose the ip address, not localhost, or you would not be able to use it

open http://localhost:8100 and everything works.

Android tests

You can test on your android device, just make sure that debugging is enabled.

cd myApp
ionic platform add android
ionic build android
ionic run android


  • The application is not installed on my android device
    • Try docker run -ti --rm -p 8100:8100 -p 35729:35729 --privileged -v /dev/bus/usb:/dev/bus/usb -v \$PWD:/myApp:rw agileek/ionic-framework adb devices your device should appear
  • The adb devices show nothing whereas I can see it when I do adb devices on my computer
    • You can't have adb inside and outside docker at the same time, be sure to adb kill-server on your computer before using this image

Coming next

Support for android emulation with X11 forwarding

ionic platform emulate android
Docker Pull Command
Source Repository

Comments (7)
14 days ago

Awesome! Worked OOTB!! Thank you!

5 months ago

When running ionic build android, it displays "Error: Requirements check failed for JDK 1.8 or greater"

7 months ago

I can't start server with: ionic serve --port 8100 --all

$ docker-compose.exe up serve
Creating ordersmanager_serve_1
Attaching to ordersmanager_serve_1
serve_1  | Running live reload server:
serve_1  | Watching: www/**/*, !www/lib/**/*
serve_1  | √ Running dev server:
serve_1  | Ionic server commands, enter:
serve_1  |   restart or r to restart the client app from the root
serve_1  |   goto or g and a url to have the app navigate to the given url
serve_1  |   consolelogs or c to enable/disable console log output
serve_1  |   serverlogs or s to enable/disable server log output
serve_1  |   quit or q to shutdown the server and exit
serve_1  |
serve_1  | ionic $ ordersmanager_serve_1 exited with code 0
9 months ago

@diorz38 use ionic serve --all and it should work!

10 months ago

i'm just try docker to day, use kitematic, and run this ionic container, just dont know what to do when log ask me to choose ip address or localhost, where i have to put my choose, sory i extreemly new of docker toolbox

a year ago

Don't working...
docker pull agileek/ionic-framework
FATA[0020] Tag latest not found in repository agileek/ionic-framework

a year ago

Wow! 3.0 GB! So big!