Docker image installation
Docker is container service architecture to build flexible and distributed system services. This section guides how to install from docker images.
Docker Hub to pull image
Docker image file is located on the following Docker Hub website:
https://hub.docker.com/repository/docker/amplixbi/amplix-boot
OPEN
Supported Tag Images
Latest verion : docker pull amplixbi/amplix-boot
How to use image
$ docker run -it --rm -p 8580:8580 amplixbi/amplix-boot
You can test it by visiting http://container-ip:8580 in a browser or, if you need access outside the host, on port 8888:
$ docker run -it --rm --name amplix_1 --hostname amplix_1 -p 8888:8580 amplixbi/amplix-boot
For docker images with CUBRID database and expose database management port to host machine is as follows:
$ docker run -it --rm --name amplix_1 \
--hostname amplix_1 \
-p 8888:8580 \
-p 30000:30000 \
-p 8001:8001 \
amplixbi/amplix-boot:5.0.1-jdk8-openjdk-cubrid
Shared volume for the log file and temporary folders and configuration is as follows. On hosting machine, install application to base configuration options and then use following command to share.
$ export AMPLIX_HOME=/amplix/amplix_boot
$ export AMPLIX_CONTAINER=/amplix/amplix_boot
$ docker run -it --rm --name amplix_1 \
--hostname amplix_1 \
-p 8888:8580 \
-p 30000:30000 \
-p 8001:8001 \
-v $AMPLIX_HOME/license.dat:$AMP_CONTAINER/license.dat:ro
-v $AMPLIX_HOME/config:$AMP_CONTAINER/config:ro
-v $AMPLIX_HOME/cache:$AMP_CONTAINER/cache
-v $AMPLIX_HOME/meta_files:$AMP_CONTAINER/meta_files
-v $AMPLIX_HOME/plugins:$AMP_CONTAINER/plugins
-v $AMPLIX_HOME/repository:$AMP_CONTAINER/repository
-v $AMPLIX_HOME/schedule:$AMP_CONTAINER/schedule
-v $AMPLIX_HOME/repository:$AMP_CONTAINER/repository
-v $AMPLIX_HOME/sysconfig:$AMP_CONTAINER/sysconfig
-v $AMPLIX_HOME/temp:$AMP_CONTAINER/temp
-v $AMPLIX_HOME/template:$AMP_CONTAINER/template
-v $AMPLIX_HOME/upload:$AMP_CONTAINER/upload
-v /cubrid/databases:/amplix/cubrid/databases
amplixbi/amplix-boot:5.0.1-jdk8-openjdk-cubrid
Single line shell command is as follows:
$ export AMPLIX_HOME=/amplix/amplix_boot
$ export AMPLIX_CONTAINER=/amplix/amplix_boot
$ docker run -it --rm --name amplix_1 --hostname amplix_1 -p 8888:8580 -v $AMPLIX_HOME/license.dat:$AMP_CONTAINER/license.dat:ro -v $AMPLIX_HOME/config:$AMP_CONTAINER/config:ro -v $AMPLIX_HOME/cache:$AMP_CONTAINER/cache -v $AMPLIX_HOME/meta_files:$AMP_CONTAINER/meta_files -v $AMPLIX_HOME/plugins:$AMP_CONTAINER/plugins -v $AMPLIX_HOME/repository:$AMP_CONTAINER/repository -v $AMPLIX_HOME/schedule:$AMP_CONTAINER/schedule -v $AMPLIX_HOME/repository:$AMP_CONTAINER/repository -v $AMPLIX_HOME/sysconfig:$AMP_CONTAINER/sysconfig -v $AMPLIX_HOME/temp:$AMP_CONTAINER/temp -v $AMPLIX_HOME/template:$AMP_CONTAINER/template -v $AMPLIX_HOME/upload:$AMP_CONTAINER/upload -v /cubrid/databases:/amplix/cubrid/databases amplixbi/amplix-boot:5.0.1-jdk8-openjdk-cubrid
Image Variants
The amplix images come in many flavors, each designed for a specific use case.
amplixbi/amplix-boot:-,- This is the defacto image. If you are unsure about what your needs are, you probably want to use this one. It is designed to be used both as a throw away container (mount your source code and start the container to start your app), as well as the base to build other images off of.