docker 搭建rabbitMq

docker search  rabbitmq:managementdocker 

docker pull rabbitmq:management

docker run --privileged=true -d \
--name rabbitmq  \
-p 5672:5672 \
-p 15672:15672 \
--hostname myrabbitmq  \
-e RABBITMQ_DEFAULT_VHOST=my_vhost  \
-e RABBITMQ_DEFAULT_USER=admin \
-e RABBITMQ_DEFAULT_PASS=admin \
rabbitmq:management

你可能感兴趣的:(docker 搭建rabbitMq)