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

MySQL slow query log configuration and usage tutorial

Preface MySQL slow query log is a function that w...

Analysis of GTK treeview principle and usage

The GtkTreeView component is an advanced componen...

Vue calls the computer camera to realize the photo function

This article example shares the specific code of ...

JS+CSS to realize dynamic clock

This article example shares the specific code of ...

Complete steps to configure IP address in Ubuntu 18.04 LTS

Preface The method of configuring IP addresses in...

Teach you the detailed process of installing DOClever with Docker Compose

Table of contents 1. What is Docker Compose and h...

An article tells you how to write a Vue plugin

Table of contents What is a plugin Writing plugin...

Element Plus implements Affix

Table of contents 1. Component Introduction 2. So...

A brief discussion on the whole process of Vue's first rendering

Table of contents 1. Vue initialization vue entry...

Analysis of the operating principle and implementation process of Docker Hub

Similar to the code hosting service provided by G...

What are the new features of Apache Spark 2.4, which will be released in 2018?

This article is from the Apache Spark Meetup held...

Summary of Docker Data Storage

Before reading this article, I hope you have a ba...

Vue uses drag and drop to create a structure tree

This article example shares the specific code of ...

Idea deployment tomcat service implementation process diagram

First configure the project artifacts Configuring...