Install RabbitMq on Docker for Windows

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

insert image description here

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

insert image description here
Now, RabbitMq is up and running in Docker Desktop
insert image description here
Open: http://localhost:15672
insert image description here

Username: admin
Password: admin
Enter the management interface
insert image description here
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



Guess you like

Origin blog.csdn.net/m0_68681879/article/details/129282923