Ubuntu-based RabbitMQ image - an open source multi-protocol messaging broker.
10K+
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.
NOTE: These tags follow a specific naming convention that respects the concept of channels.
| Tags | Supported until | Version | Base | Architectures | |
|---|---|---|---|---|---|
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/2029 | 3.12 | 24.04 | amd64, 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/2027 | 3.9 | 22.04 | amd64, arm64 |
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.
To view the Pebble services and checks defined in this rock:
docker run --rm ubuntu/rabbitmq:3.12-24.04_stable plan
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
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>
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
| Option | Description | Default |
|---|---|---|
RABBITMQ_CONFIG_FILE | Main RabbitMQ config file path. Defaults to /etc/rabbitmq/rabbitmq.conf by RabbitMQ. | None |
RABBITMQ_CONFIG_FILES | Path to a directory of RabbitMQ configuration files. Defaults to /etc/rabbitmq/conf.d by RabbitMQ. | None |
| Option | Description | Default |
|---|---|---|
-v <path>:/etc/rabbitmq/rabbitmq.conf | Map 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.d | Map 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 |
| Option | Description | Default |
|---|---|---|
-p <port>:5672 | Expose the container's port 5672 on the host's for AMQP clients without TLS. | None |
-p <port>:5671 | Expose the container's port 5671 on the host's for AMQP clients with TLS. | None |
-p <port>:15672 | Expose the container's port 15672 on the host's for HTTP clients without TLS. | None |
-p <port>:15671 | Expose the container's port 15671 on the host's for HTTP clients with TLS. | None |
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.
Content type
Image
Digest
sha256:362d25728…
Size
77.5 MB
Last updated
4 days ago
docker pull ubuntu/rabbitmq:3.12-24.04_stablePulls:
2,021
Last week