A key installation Docker RocketMQ (All in one Docker)

surroundings:

CentOS Linux release 7.7.1908 (Core)

Docker version 19.03.4, build 9013bf583a

 

Installation :

This image based on 2020-02-27 rocketmq-all-4.6.1 production ;

Image contains mqnamesrv, mqbroker and Console;

Before installation please turn off the firewall, or open the relevant port (9876,12581,10911,10909);

Installation only a command line, may be selected manually or automatically specify the acquisition, students can Docker not familiar with reference docker installation and basic operation

# 自动获取公网IP安装
docker run -d -p 9876:9876 -p 12581:12581 -p 10911:10911 -p 10909:10909 --name rocketmq aeert/image:rocketmq


# 自动获取公网IP安装如果失败的话可以手动指定IP安装
docker run -d -e IP=你的IP -p 9876:9876 -p 12581:12581 -p 10911:10911 -p 10909:10909 --name rocketmq aeert/image:rocketmq

Installation process:

 

View:

http: // your IP: 12581

 

Code Example:

https://github.com/mayunkun/rocketmq-example.git

 

If you need the latest image can contact the author plus group (group number: 132 381 997)

If it helps you, please author a cup of coffee!

 

Published 33 original articles · won praise 6 · views 10000 +

Guess you like

Origin blog.csdn.net/kuangni5808/article/details/103568076