Docker file for trusted builds of ActiveMQ on https://registry.hub.docker.com/u/rmohr/activemq/.
Run the latest container with:
docker pull rmohr/activemq
docker run -p 61616:61616 -p 8161:8161 rmohr/activemq
The JMX broker listens on port 61616 and the Web Console on port 8161.
rmohr/activemq:latest (rmohr/activemq:5.15.4)
rmohr/activemq:5.10.0
rmohr/activemq:5.10.1
rmohr/activemq:5.10.2
rmohr/activemq:5.11.0
rmohr/activemq:5.11.1
rmohr/activemq:5.12.0
rmohr/activemq:5.12.1
rmohr/activemq:5.12.2
rmohr/activemq:5.13.0
rmohr/activemq:5.13.1
rmohr/activemq:5.13.2
rmohr/activemq:5.13.3
rmohr/activemq:5.13.4
rmohr/activemq:5.14.0
rmohr/activemq:5.14.0-alpine
rmohr/activemq:5.14.1
rmohr/activemq:5.14.1-alpine
rmohr/activemq:5.14.2
rmohr/activemq:5.14.2-alpine
rmohr/activemq:5.14.3
rmohr/activemq:5.14.3-alpine
rmohr/activemq:5.14.4
rmohr/activemq:5.14.4-alpine
rmohr/activemq:5.14.5
rmohr/activemq:5.14.5-alpine
rmohr/activemq:5.15.2
rmohr/activemq:5.15.2-alpine
rmohr/activemq:5.15.3
rmohr/activemq:5.15.3-alpine
rmohr/activemq:5.15.4
rmohr/activemq:5.15.4-alpine
61616 JMS
8161 UI
5672 AMQP (since `rmohr/activemq:5.12.1`)
61613 STOMP (since `rmohr/activemq:5.12.1`)
1883 MQTT (since `rmohr/activemq:5.12.1`)
61614 WS (since `rmohr/activemq:5.12.1`)
ActiveMQ checks your environment for the variables ACTIVEMQ_BASE, ACTIVEMQ_CONF and ACTIVEMQ_DATA. Just override them with your desired location:
docker run -p 61616:61616 -p 8161:8161 -e ACTIVEMQ_CONF=/etc/activemq/conf -e ACTIVEMQ_DATA=/var/lib/activemq/data rmohr/activemq
As an alternative you can just mount your persistent config and data directories into the default location:
docker run -p 61616:61616 -p 8161:8161 -v /opt/activemq/conf:/opt/activemq/conf -v /opt/activemq/data:/opt/activemq/data rmohr/activemq