Detailed steps to install RabbitMQ in docker

Detailed steps to install RabbitMQ in docker

1. Find the mirror

 docker search rabbitmq 

insert image description here

2. Download the RabbitMQ image

Download the latest image directly. If you need to download other versions, check it on the Docker official website and add the version number before downloading.

 # Download the image docker pull rabbitmq

#View docker images

3. Create and start the RabbitMQ container

The first -p is used for page access. The second -p is used for production and consumption (that is, used in the code).

 docker run -id --hostname myrabbit --name rabbitmq1 -p 15672:15672 -p 5672:5672 rabbitmq

insert image description here

4. Enter the container interaction page

 docker exec -it rabbitmq1 /bin/bash

insert image description here

5. Download the plugin

 rabbitmq-plugins enable rabbitmq_management

insert image description here

6. Alibaba Cloud Console Open Port Number

Note: Open two ports.

insert image description here

7. Login

The account and password for accessing IP+port number are both: guest

insert image description here

This is the end of this article about the detailed steps of installing RabbitMQ in docker. For more relevant content about installing RabbitMQ in docker, please search for previous articles on 123WORDPRESS.COM or continue to browse the following related articles. I hope you will support 123WORDPRESS.COM in the future!

You may also be interested in:
  • Install Mongo4.2 and client tools to connect to Mongo under Docker
  • Docker deployment and installation steps for Jenkins
  • Docker installation of RocketMQ and solutions to problems encountered during installation
  • Install zeppeline in docker

<<:  Some experience sharing on enabling HTTPS

>>:  Summary of various methods of implementing article dividing line styles with CSS

Recommend

How to query a record in Mysql in which page of paging

Preface In practice, we may encounter such a prob...

How to use CocosCreator object pool

Table of contents Preface: Specific operations St...

vue-table implements adding and deleting

This article example shares the specific code for...

Specific use of MySQL global locks and table-level locks

Table of contents Preface Global Lock Table lock ...

Use standard dl, dt, dd tags to discard table lists

Now, more and more front-end developers are starti...

Vue3.0 routing automatic import method example

1. Prerequisites We use the require.context metho...

Native JS to implement the aircraft war game

This article example shares the specific code of ...

Solve the problem of docker log mounting

The key is that the local server does not have wr...

How to install MySQL database on Ubuntu

Ubuntu is a free and open source desktop PC opera...

4 functions implemented by the transform attribute in CSS3

In CSS3, the transform function can be used to im...

JavaScript to achieve mouse drag effect

This article shares the specific code of JavaScri...

Detailed analysis of MySQL 8.0 memory consumption

Table of contents 1. innodb_buffer_pool_size 2. i...

VMware ESXI server virtualization cluster

Table of contents summary Environment and tool pr...