Docker镜像地址:
https://registry.hub.docker.com/_/rabbitmq/
下载:docker pull rabbitmq
运行:
docker run -d --hostname rabbitmq–name rabbitmq -e RABBITMQ_DEFAULT_USER=admin -e RABBITMQ_DEFAULT_PASS=admin -e RABBITMQ_DEFAULT_VHOST=/ -p 15672:15672 -p 5672:5672 rabbitmq
界面管理:
management-alpine:
docker pull rabbitmq:management-alpine
docker run -d --hostname rabbitmq --name rabbitmq -e RABBITMQ_DEFAULT_USER=admin -e RABBITMQ_DEFAULT_PASS=admin -e RABBITMQ_DEFAULT_VHOST=/ -p 15672:15672 -p 5672:5672 rabbitmq:management-alpine
搭建完成访问:127.0.0.0:15672
界面:
官网地址:
https://www.rabbitmq.com/tutorials/tutorial-one-go.html