Public | Automated Build

Last pushed: 2 years ago
Short Description
Short description is empty for this repo.
Full Description


This repository contains the Dockerfile and the configuration files to build the Ionic framework for Docker.

Base Docker Image

This image is using the following tools:

  • latest node, ionic and cordova
  • Android SDK Tools, revision 24.2
  • Android SDK Build Tools, revision 22
  • Android SDK Platform, x86 API level 22


docker build -t mkaag/ionic


Basic usage

docker run -ti -p 8100:8100 -p 35729:35729 mkaag/ionic

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

docker run -ti \
-v /path/to/your/ionic-project/:/myApp:rw \
-p 8100:8100 -p 35729:35729 \


With this alias:

alias ionic="docker run -ti \
--privileged \
-v /dev/bus/usb:/dev/bus/usb \
-v \$PWD:/myApp:rw \
-p 8100:8100 -p 35729:35729 \
mkaag/ionic ionic"

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

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 platform build android
ionic platform run android


The application is not installed on my android device

Try running:

docker run -ti \
--privileged \
-v /dev/bus/usb:/dev/bus/usb \
-v \$PWD:/myApp:rw \
-p 8100:8100 -p 35729:35729 \
mkaag/ionic adb list
Docker Pull Command
Source Repository