docker search rabbitmq
docker pull rabbitmq
docker image list
docker run -d --name hzxc-rabbitmq -p 5672:5672 -p 15672:15672 -v /data/rabbitmq:/var/lib/rabbitmq -e RABBITMQ_DEFAULT_USER=admin -e RABBITMQ_DEFAULT_PASS=admin rabbitmq
firewall-cmd --permanent --add-port={5672/tcp,15672/tcp}
firewall-cmd --reload docker ps -a docker exec -it hzxc-rabbitmq /bin/sh curl http://127.0.0.1:1567
3、进入到rabbitmq容器中
docker exec -it localrabbitmq /bin/bash
4、rabbitmq-plugins list 列出所有插件列表
5、rabbitmq-plugins enable rabbitmq_management