Simplest rabbitmq: 3
docker run -d -p 5672:5672 rabbitmq:3
This method, without the management interface, cannot access the background management interface through port 15672
Q: What is the default account password of rabbitmq?
A: The default account password ofguest
rabbitmq with admin interface
run rabbitmq:3-management
docker run -d -p 15672:15672 -p 5672:5672 rabbitmq:3-management
You can also specify the default account password with the following command:
docker run -d -p 15672:15672 -p 5672:5672 -e RABBITMQ_DEFAULT_USER=admin -e RABBITMQ_DEFAULT_PASS=admin rabbitmq:3-management
Reference article:
Downloading and Installing RabbitMQ
**粗体** _斜体_ [链接](http://example.com) `代码` - 列表 > 引用
。你还可以使用@
来通知其他用户。