1、
firewall-cmd --zone=public --add-port=5672/tcp --add-port=15672/tcp --permanent && firewall-cmd --reload
firewall-cmd --list-ports
mkdir -p /root/cloud/rabbitmq
docker run --name rabbitmq \
-e RABBITMQ_DEFAULT_USER=gwin_prod \
-e RABBITMQ_DEFAULT_PASS=gwin_prod \
-p 5672:5672 \
-p 15672:15672 \
-v /root/cloud/rabbitmq:/var/lib/rabbitmq \
-d rabbitmq:3-management
标签:15672,--,cmd,rabbitmq,firewall,5672,docker,安装
From: https://www.cnblogs.com/kikyoqiang/p/17033398.html