esrahofstede/activemq-nano

By esrahofstede

Updated over 8 years ago

ActiveMQ on Windows nano-server with java-9

Image
1

10K+

esrahofstede/activemq-nano repository overview

Used the image of vitaliylebedev/nano-activemq as inspiration for this repo.

Quick Start

docker run --name='activemq' -it -p 8161:8616 -p 61616:61616 -p 61613:61613 esrahofstede/activemq-nano C:\\tools\\ActiveMQ\\apache-activemq-5.11.1\\bin\\activemq.bat start

Known issues

In case of: Error occurred during initialization of VM Could not reserve enough space for object heap

docker run --name='activemq' -it -e "_JAVA_OPTIONS=-Xmx128M -Xms128M" -p 8161:8616 -p 61616:61616 -p 61613:61613 esrahofstede/activemq-nano C:\tools\ActiveMQ\bin\activemq.bat start

Container ip

docker inspect -f '{{ .NetworkSettings.Networks.nat.IPAddress}}' activemq

ActiveMq UI

http://{containerip}:8161

Dockerfile

FROM esrahofstede/nano-java
ENV JAVA_HOME c:\\ojdkbuild
RUN setx PATH '%PATH%;c:\\ojdkbuild\\bin'
RUN powershell -Command Invoke-WebRequest 'https://archive.apache.org/dist/activemq/5.15.2/apache-activemq-5.15.2-bin.zip' -Outfile 'C:\\activemq.zip'
RUN mkdir C:\tools; \
    powershell Expand-Archive C:\activemq.zip -DestinationPath C:\tools; \
    ren C:\tools\apache-activemq-5.15.2 activemq; \
    Remove-Item C:\activemq.zip

Tag summary

Content type

Image

Digest

Size

797.2 MB

Last updated

over 8 years ago

docker pull esrahofstede/activemq-nano:0.1