The rabbitmq:latest
image is not enabling the rabbitmq_management
plugin by default. Which only enabled these
rabbitmq-1 | 2023-07-14 08:45:41.693192+00:00 [info] <0.599.0> * rabbitmq_prometheus
rabbitmq-1 | 2023-07-14 08:45:41.693192+00:00 [info] <0.599.0> * rabbitmq_web_dispatch
rabbitmq-1 | 2023-07-14 08:45:41.693192+00:00 [info] <0.599.0> * rabbitmq_management_agent
In the doc
There is a second set of tags provided with the management plugin installed and enabled by default, which is available on the standard management port of 15672
So you have to use image rabbitmq:3-management
for Management Plugin
or you can enable RabbitMQ management plugin with the rabbitmq:latest
image with this Dockerfile
content
FROM rabbitmq:latest
# Enable RabbitMQ management plugin
RUN rabbitmq-plugins enable rabbitmq_management
Note : Deploy the container app with management image and you will able to access it without mentioning the port 15672
in the url.
Hope this helps