1, using the docker command to run rabbitMQ
docker run -d --name rabbit -p 5672: 5672 -p 15672: 15672 rabbitmq: management
Description:
The client port 5672 is a management port 15672 docker dashboard Examples rabbit run
2, view the running instance docker
docker container ls -a
3, modify the administrator password rabbitMQ
docker exec -it rabbit bash
into the docker instance
rabbitmqctl list_users
users to view a list of rabbitmq
rabbitmqctl change_password UserName 'password'
to modify the user's password