Hello,
I’m a Newbe with Docker and I need your kind help with adding a Plugin to the RabbitMQ running on Docker.
I’m running RabbitMQ on Docker on Ubuntu 14.04 LTS.
I would like to add the “rabbitmq_delayed_message_exchange” on my RabbitMQ that is running on Docker, but it seems that I don’t know how to do so.
From my understanding, I need to remove the current running RabbitMQ container and add a new one which includes this plugin. Isn’t there a smarter way to add the plugin without removing a running container?
If there is a smarter way, such as running the command below, where should I save the plugin?
Here is the command I am using, and the error I receive. Where should I reside the Plugin?
“docker exec 7b0122d371f3 rabbitmq-plugins enable rabbitmq_delayed_message_exchange”
Response:
“Error: The following plugins could not be found:
rabbitmq_delayed_message_exchange”
Below is the Configuration I ran to build the RabbitMQ on Docker:
docker run -d -h host.docker
–add-host=host.docker:192.168.1.10
–name rabbit
-p “4370:4370”
-p “5672:5672”
-p “15672:15672”
-p “25672:25672”
-p “35197:35197”
-e “RABBITMQ_USE_LONGNAME=true”
-e “ERL_EPMD_PORT=4370”
-e RABBITMQ_ERLANG_COOKIE=“RabitRabit”
-e RABBITMQ_NODENAME=“master”
-e “RABBITMQ_LOGS=/var/log/rabbitmq/rabbit.log”
-v /data/rabbitmq:/var/lib/rabbitmq
-v /data/rabbitmq/logs:/var/log/rabbitmq
rabbitmq:3.6.6-management \
Thanks in advanced for your help.