Two problems encountered when deploying rabbitmq with Docker

Two problems encountered when deploying rabbitmq with Docker

1. Background

The following two problems are encountered when deploying RabbitMQ with Docker

Problem 1: Error message when accessing the switch

Management API returned status code 500

Problem 2: Error message when accessing channel

Stats in management UI are disabled on this node

2. Solution

[root@ldp03host ~]# clear
[root@ldp03host ~]# docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
adc292b90f88 rabbitmq "docker-entrypoint.s…" 6 days ago Up 18 hours 4369/tcp, 0.0.0.0:5672->5672/tcp, :::5672->5672/tcp, 5671/tcp, 15691-15692/tcp, 25672/tcp, 0.0.0.0:15672->15672/tcp, :::15672->15672/tcp rabbit
[root@ldp03host ~]# docker exec -it adc292b90f88 /bin/bash
root@my-rabbit:/# cd /etc/rabbitmq/conf.d/
root@my-rabbit:/etc/rabbitmq/conf.d# echo management_agent.disable_metrics_collector = false > management_agent.disable_metrics_collector.conf
root@my-rabbit:/etc/rabbitmq/conf.d# exit
exit
[root@ldp03host ~]# docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
adc292b90f88 rabbitmq "docker-entrypoint.s…" 6 days ago Up 19 hours 4369/tcp, 0.0.0.0:5672->5672/tcp, :::5672->5672/tcp, 5671/tcp, 15691-15692/tcp, 25672/tcp, 0.0.0.0:15672->15672/tcp, :::15672->15672/tcp rabbit
[root@ldp03host ~]# docker restart adc292b90f88
adc292b90f88
[root@ldp03host ~]#

Perfect!

This is the end of this article about the problems encountered in deploying rabbitmq with Docker. For more relevant content about deploying rabbitmq with 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:
  • Detailed operations of building RabbitMq's common cluster and mirror cluster with Docker
  • A detailed introduction to deploying RabbitMQ environment with docker
  • The problem of being unable to enter the management page when installing rabbitmq in docker
  • Docker deployment RabbitMQ container implementation process analysis
  • How to quickly install RabbitMQ in Docker
  • Docker installs and runs the rabbitmq example code
  • How to deploy rabbitmq cluster with docker
  • How to build a rabbitmq cluster environment with docker
  • Docker installation and configuration steps for RabbitMQ

<<:  Design perspective technology is an important capital of design ability

>>:  Getting Started with MySQL - Concepts

Recommend

How to use worm replication in Mysql data table

To put it simply, MySQL worm replication is to co...

mysql server is running with the --skip-grant-tables option

The MySQL server is running with the --skip-grant...

Shell script nginx automation script

This script can satisfy the operations of startin...

Detailed analysis of the blocking problem of js and css

Table of contents DOMContentLoaded and load What ...

How to run .sh files in Linux system

There are two ways to run .sh files in Linux syst...

Tutorial on installing and configuring remote login to MySQL under Ubuntu

This article shares the MySQL installation and co...

MySQL Series 13 MySQL Replication

Table of contents 1. MySQL replication related co...

JavaScript closure details

Table of contents 1. What is a closure? 2. The ro...

Implementation of remote Linux development using vscode

Say goodbye to the past Before vscode had remote ...

Vue.set() and this.$set() usage and difference

When we use Vue for development, we may encounter...

An article to give you a deep understanding of Mysql triggers

Table of contents 1. When inserting or modifying ...

MySQL PXC builds a new node with only IST transmission (recommended)

Demand scenario: The existing PXC environment has...