diff --git a/rocketmq-mac.sh b/rocketmq-mac.sh new file mode 100644 index 0000000000000000000000000000000000000000..8f38f3d12234af667c621df22fba0bcc93bd2404 --- /dev/null +++ b/rocketmq-mac.sh @@ -0,0 +1,15 @@ +# https://hub.docker.com/r/xuchengen/rocketmq +docker run -itd \ + --name=rocketmq \ + --hostname rocketmq \ + --restart=always \ + -p 7397:7397 \ + -p 9876:9876 \ + -p 10909:10909 \ + -p 10911:10911 \ + -p 10912:10912 \ + -v rocketmq_data:/home/app/data \ + -v /etc/localtime:/etc/localtime \ + -v /var/run/docker.sock:/var/run/docker.sock \ + --net=host \ + xuchengen/rocketmq:latest \ No newline at end of file