Apache RocketMQ Docker module provides Dockerfile and bash scripts for building docker image.
cd 4.0.0-incubating/broker/ or cd 4.0.0-incubating/namesrv/
sh docker_build.sh
.\docker_build.cmd
sh docker_run.sh
.\docker_run.cmd
Build broker and namesrv images, then run them at local. The name server address of broker is automatically configured.
cd 4.0.0-incubating
.\play.cmd
sh play.sh