/rabbitmq

Primary LanguageDockerfileMIT LicenseMIT

RabbitMQ Dockerfile

This repository contains Dockerfile of RabbitMQ for Docker's automated build published to the public Docker Hub Registry.

Base Docker Image

Installation

  1. Install Docker.

  2. Download automated build from public Docker Hub Registry: docker pull dockerfile/rabbitmq

    (alternatively, you can build an image from Dockerfile: docker build -t="dockerfile/rabbitmq" github.com/dockerfile/rabbitmq)

Usage

Run rabbitmq-server

docker run -d -p 5672:5672 -p 15672:15672 dockerfile/rabbitmq

Run rabbitmq-server w/ persistent shared directories.

docker run -d -p 5672:5672 -p 15672:15672 -v <log-dir>:/data/log -v <data-dir>:/data/mnesia dockerfile/rabbitmq