Docker 为rabbitmq添加delayed_message插件

1、官网下载delayed_message插件

2、编辑Dockerfile:

#vim Dockerfile
From rabbitmq:3-management
COPY rabbitmq_delayed_message_exchange-20171201-3.7.x.ez /plugins
RUN rabbitmq-plugins enable --offline rabbitmq_delayed_message_exchange

3、构建镜像

#docker build -t rabbitmq:3-management-delayed .

上一篇:Docker中RabbitMQ安装延迟队列插件rabbitmq_delayed_message_exchange


下一篇:Java高并发容器选择