Public | Automated Build

Last pushed: 3 years ago
Short Description
Dockerfile for Apache ActiveMQ
Full Description

Dockerfile for Apache ActiveMQ

This is basic docker image for Apache ActiveMQ. Please see the Apache ActiveMQ for details.


You need to build the image and then run it.


To build the image, following command is enough.

docker build -t activemq .


In order to start activemq process you have to specify Xms and Xmx values while running docker, by passing those as a ENVIRONMENT variable.

Please see the example below:

docker run -it -d \
--name activemq \
-v /mnt/data:/mnt/data \
-p 8161:8161 \
-p 61616:61616 \
--env JVM_XMS=3G \
--env JVM_XMX=3G \

This will store the activemq data in /mnt/data/activemq/kahadb on the host. Ensure that this path is accessible by the activemq user in the container.

Docker Pull Command
Source Repository