How to install RabbitMQ using docker
install rabbitmq
👋 Hey there! I’m Shohanur Rahman!
I’m a backend developer with over 5.5 years of experience in building scalable and efficient web applications. My work focuses on Java, Spring Boot, and microservices architecture, where I love designing robust API solutions and creating secure middleware for complex integrations.
💼 What I Do Backend Development: Expert in Spring Boot, Spring Cloud, and Spring WebFlux, I create high-performance microservices that drive seamless user experiences. Cloud & DevOps: AWS enthusiast, skilled in using EC2, S3, RDS, and Docker to design scalable and reliable cloud infrastructures. Digital Security: Passionate about securing applications with OAuth2, Keycloak, and digital signatures for data integrity and privacy. 🚀 Current Projects I’m currently working on API integrations with Spring Cloud Gateway and designing an e-invoicing middleware. My projects often involve asynchronous processing, digital signature implementations, and ensuring high standards of security.
📝 Why I Write I enjoy sharing what I’ve learned through blog posts, covering everything from backend design to API security and cloud best practices. Check out my posts if you’re into backend dev, cloud tech, or digital security!
To install RabbitMQ using Docker, you will need to have Docker installed on your system.
Once you have Docker installed, you can pull the RabbitMQ Docker image by running the following command:
docker pull rabbitmq:3-management
This will download the RabbitMQ Docker image from the Docker Hub.
To start a RabbitMQ container, you can use the following command:
docker run -d --name my-rabbit -p 5672:5672 -p 15672:15672 rabbitmq:3-management
This will start a RabbitMQ container with the name "my-rabbit" and map the default RabbitMQ ports (5672 for AMQP and 15672 for the management UI) to the corresponding ports on the host machine.
You can then access the RabbitMQ management UI by going to http://localhost:15672 in your web browser (the default username is "guest" and the default password is "guest").