Thanks to visit codestin.com
Credit goes to hub.docker.com

ubuntu/rabbitmq

Verified Publisher

By Canonical

Updated 4 days ago

Ubuntu-based RabbitMQ image - an open source multi-protocol messaging broker.

Image
Message queues
0

10K+

ubuntu/rabbitmq repository overview

ubuntu/rabbitmq is a rock for rabbitmq maintained by Canonical.

RabbitMQ is a reliable and mature messaging and streaming broker, which is easy to deploy on cloud environments, on-premises, and on your local machine. It is currently used by millions worldwide.

[Learn more about rabbitmq]

Tags and Architectures

NOTE: These tags follow a specific naming convention that respects the concept of channels.

TagsSupported untilVersionBaseArchitectures
3.12-24.04_stable
aliases3-24.04, 3-24.04_beta, 3-24.04_candidate, 3-24.04_edge, 3-24.04_stable, 3.12-24.04, 3.12-24.04_beta, 3.12-24.04_candidate, 3.12-24.04_edge
05/20293.1224.04amd64, arm64
3.9-22.04_stable
aliases3-22.04, 3-22.04_beta, 3-22.04_candidate, 3-22.04_edge, 3-22.04_stable, 3.9-22.04, 3.9-22.04_beta, 3.9-22.04_candidate, 3.9-22.04_edge
06/20273.922.04amd64, arm64

Get started

This rock's entrypoint is Pebble, a container-optimized init process that enables the orchestration of a collection of local service processes as an organized set.

[Learn more about Pebble]

Inspect

To view the Pebble services and checks defined in this rock:

docker run --rm ubuntu/rabbitmq:3.12-24.04_stable plan
Run

To run this rock, use any of the usual container runtimes, for example, docker:

docker run --name rabbitmq-container \
    -p 5672:5672 -p 15672:15672 \
    ubuntu/rabbitmq:3.12-24.04_stable

RabbitMQ starts and exposes AMQP and HTTP management interfaces. Access AMQP on localhost:5672 and HTTP management UI on http://localhost:15672.

Note that the clients provided by RabbitMQ won't be accessible by default unless a properly defined configuration file is applied in the container. For demonstration purposes, we enable access for the default guest user from a non-localhost network by running the following commands:

$ docker exec rabbitmq-container /scripts/config-defaults.sh
$ docker exec rabbitmq-container pebble restart rabbitmq-server

CAUTION: This container is no longer production-ready if configured with /scripts/config-defaults.sh. Refer to the official documentation for production deployments.

The node status can be queried with the following command:

$ curl -u guest:guest http://localhost:15672/api/healthchecks/node

Get logs

To view the logs of the running container, run:

docker exec rabbitmq-container pebble logs

Or, for a specific service:

docker exec rabbitmq-container pebble logs <service>
Monitor health checks

Rocks may have predefined health checks that you can list by running:

docker exec rabbitmq-container pebble checks

The overall health of your container can be inspected via:

docker exec rabbitmq-container pebble health

Configuration

Environment variables
OptionDescriptionDefault
RABBITMQ_CONFIG_FILEMain RabbitMQ config file path. Defaults to /etc/rabbitmq/rabbitmq.conf by RabbitMQ.None
RABBITMQ_CONFIG_FILESPath to a directory of RabbitMQ configuration files. Defaults to /etc/rabbitmq/conf.d by RabbitMQ.None
Volumes
OptionDescriptionDefault
-v <path>:/etc/rabbitmq/rabbitmq.confMap the local main configuration file into the container. Change the target path if any other configuration file path is passed to the environmental variable RABBITMQ_CONFIG_FILE.None
-v <path>:/etc/rabbitmq/conf.dMap the local configuration directory into the container. Change the target path if any other configure directory is passed to the environmental variable RABBITMQ_CONFIG_FILES.None
Ports
OptionDescriptionDefault
-p <port>:5672Expose the container's port 5672 on the host's for AMQP clients without TLS.None
-p <port>:5671Expose the container's port 5671 on the host's for AMQP clients with TLS.None
-p <port>:15672Expose the container's port 15672 on the host's for HTTP clients without TLS.None
-p <port>:15671Expose the container's port 15671 on the host's for HTTP clients with TLS.None

[Report a bug] [Contribute]

Canonical is the provider of this container image. It is the user's responsibility to ensure that any use of this image complies with any relevant licenses for all software contained within, as well as with Canonical’s IP Policy.

Tag summary

Content type

Image

Digest

sha256:362d25728

Size

77.5 MB

Last updated

4 days ago

docker pull ubuntu/rabbitmq:3.12-24.04_stable

This week's pulls

Pulls:

2,021

Last week