mvn clean package -Dmaven.test.skip=true docker:build
or
docker pull apacherocketmq/rocketmq-console
currently the newest available docker image is apacherocketmq/rocketmq-console:2.0.0
docker run -e "JAVA_OPTS=-Drocketmq.namesrv.addr=127.0.0.1:9876 -Dcom.rocketmq.sendMessageWithVIPChannel=false" -p 8080:8080 -t apacherocketmq/rocketmq-console-ng
or
docker run -e "JAVA_OPTS=-Drocketmq.namesrv.addr=127.0.0.1:9876 -Dcom.rocketmq.sendMessageWithVIPChannel=false" -p 8080:8080 -t apacherocketmq/rocketmq-console-ng:2.0.0
require java 1.8+
mvn spring-boot:run
or
mvn clean package -Dmaven.test.skip=true java -jar target/rocketmq-console-ng-2.0.0.jar
if you download package slow,you can change maven‘s mirror(maven’s settings.xml)
<mirrors> <mirror> <id>alimaven</id> <name>aliyun maven</name> <url>http://maven.aliyun.com/nexus/content/groups/public/</url> <mirrorOf>central</mirrorOf> </mirror> </mirrors>
if you use the rocketmq < 3.5.8,please add -Dcom.rocketmq.sendMessageWithVIPChannel=false when you start rocketmq-console-ng(or you can change it in ops page)
change the rocketmq.config.namesrvAddr in resource/application.properties.(or you can change it in ops page)