This article mainly introduces the Windows version of Docker to pull the RabbitMq image and build a RabbitMq cluster environment.
The premise is that the Windows version of Docker has already been
installed . Start pulling RabbitMq
Open PowerShell:
Enter the command:
docker pull rabbitmq:management
Create a container and run RabbitMq
Continue to enter the command:
the username and password are set to admin
docker run -dit --name rabbitmq -e RABBITMQ_DEFAULT_USER=admin -e RABBITMQ_DEFAULT_PASS=admin -p 15672:15672 -p 5672:5672 rabbitmq:management
Now, RabbitMq is up and running in Docker Desktop
Open: http://localhost:15672
Username: admin
Password: admin
Enter the management interface
Installation is successful
Articles in the same series
Principle part
Introduction to MQ (message queue) Introduction
to RabbitMQ Introduction to
RabbitMQ Four core concepts and working principles
Operating part
Maven integrates RabbitMQ to realize production and consumption messages SpringBoot
integrates RabbitMQ to realize production
and consumption messages