赞
踩
docker search rabbitmq
docker pull rabbitmq
docker run -d --name rabbitmq --restart always \
-p 15672:15672 \
-p 5672:5672 \
rabbitmq
安装管理控制台插件
docker exec -it rabbitmq /bin/bash
rabbitmq-plugins enable rabbitmq_management
访问RabbitMQ控制台: http://ip:15672/
用户名/密码:guest/guest
docker exec -it rabbitmq /bin/sh
rabbitmqctl stop_app
rabbitmqctl reset
rabbitmqctl start_app
Management API returned status code 500
docker exec -it rabbitmq /bin/bash
# 进入容器
cd /etc/rabbitmq/conf.d/
echo management_agent.disable_metrics_collector = false > management_agent.disable_metrics_collector.conf
exit
# 重启容器
docker restart rabbitmq
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。