[root@ldp03host ~]# clear
[root@ldp03host ~]# docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
adc292b90f88 rabbitmq "docker-entrypoint.s…" 6 days ago Up 18 hours 4369/tcp, 0.0.0.0:5672->5672/tcp, :::5672->5672/tcp, 5671/tcp, 15691-15692/tcp, 25672/tcp, 0.0.0.0:15672->15672/tcp, :::15672->15672/tcp rabbit
[root@ldp03host ~]# docker exec -it adc292b90f88 /bin/bash
root@my-rabbit:/# cd /etc/rabbitmq/conf.d/
root@my-rabbit:/etc/rabbitmq/conf.d# echo management_agent.disable_metrics_collector = false > management_agent.disable_metrics_collector.conf
root@my-rabbit:/etc/rabbitmq/conf.d# exit
exit
[root@ldp03host ~]# docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
adc292b90f88 rabbitmq "docker-entrypoint.s…" 6 days ago Up 19 hours 4369/tcp, 0.0.0.0:5672->5672/tcp, :::5672->5672/tcp, 5671/tcp, 15691-15692/tcp, 25672/tcp, 0.0.0.0:15672->15672/tcp, :::15672->15672/tcp rabbit
[root@ldp03host ~]# docker restart adc292b90f88
adc292b90f88
[root@ldp03host ~]#
到此这篇关于Docker部署rabbitmq遇到的问题的文章就介绍到这了,更多相关Docker部署rabbitmq内容请搜索脚本之家以前的文章或继续浏览下面的相关文章希望大家以后多多支持脚本之家!