Docker build RabbitMQ

Docker RabbitMQ

RabbitMQ installation is very cumbersome to use Docker quickly build a RabbitMQ development environment

step

Mirror Pull

docker pull rabbitmq

Start container
port automatically maps
the hostname parameter to specify the hostname container

docker run -d --hostname my-rabbit --name rabbitmq rabbitmq:latest

Into the container, you can view the status RabbitMQ

docker exec -it rabbitmq /bin/bash
rabbitmqctl status

Guess you like

Origin www.cnblogs.com/eoalfj/p/11262072.html
Recommended