Docker 运行 RocketMQ
PPG007 ... 2022-6-25 Less than 1 minute
# Docker 运行 RocketMQ
启动 nameserver:
docker run -dit --rm --net=host apache/rocketmq ./mqnamesrv
1
启动 broker:
docker run -dit --rm --net=host apache/rocketmq ./mqbroker -n localhost:9876
1
启动 DashBoard:
docker run -d --rm --net=host --name rocketmq-dashboard -e "JAVA_OPTS=-Drocketmq.namesrv.addr=127.0.0.1:9876" -t apacherocketmq/rocketmq-dashboard:latest
1