docker run -d -p 5672:5672 -p 15672:15672 --name rabbitmq -e RABBITMQ_DEFAULT_USER=admin -e RABBITMQ_DEFAULT_PASS=admin rabbitmq:3.8.16 docker exec -it rabbitmq rabbitmq-plugins enable rabbitmq_management
访问 http://127.0.0.1:15672,使用admin/admin即可登录
参考链接:
https://blog.csdn.net/plg17/article/details/96316637
https://www.rabbitmq.com/management.html#getting-started