1. Find the mirrordocker search rabbitmq 2. Download the RabbitMQ imageDownload 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 containerThe 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 4. Enter the container interaction pagedocker exec -it rabbitmq1 /bin/bash 5. Download the pluginrabbitmq-plugins enable rabbitmq_management 6. Alibaba Cloud Console Open Port NumberNote: Open two ports. 7. LoginThe account and password for accessing IP+port number are both: guest 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:
|
<<: Some experience sharing on enabling HTTPS
>>: Summary of various methods of implementing article dividing line styles with CSS
Preface In practice, we may encounter such a prob...
Table of contents Preface: Specific operations St...
This article example shares the specific code for...
Copy code The code is as follows: <style> ....
Table of contents Preface Global Lock Table lock ...
Now, more and more front-end developers are starti...
1. Prerequisites We use the require.context metho...
This article example shares the specific code of ...
The key is that the local server does not have wr...
Ubuntu is a free and open source desktop PC opera...
I encountered this problem before when developing...
In CSS3, the transform function can be used to im...
This article shares the specific code of JavaScri...
Table of contents 1. innodb_buffer_pool_size 2. i...
Table of contents summary Environment and tool pr...