docker安装rabbitmq延时队列插件

1、 查找Docker容器中的RabbitMQ镜像
docker ps -a
[root@linux ~]# docker ps -aCONTAINER IDIMAGECOMMANDCREATEDSTATUSPORTSNAMES8efd6f3add3cchenchuxin/dubbo-admin"catalina.sh run"6 weeks agoUp 5 weeks0.0.0.0:9090->8080/tcpdubbo-admin6939b83d0942zookeeper"/docker-entrypoint.…"6 weeks agoUp 5 weekszookeeper012aec2548a9f8525bd2016729"docker-entrypoint.s…"6 weeks agoUp 5 weeks0.0.0.0:27017->27017/tcpdocker_mongodb2、上传
rabbitmq_delayed_message_exchange-20171201-3.7.x.ez插件到Linux文件夹中
下载解压文件:
https://download.csdn.net/download/zhangdaiscott/13130449
3、拷贝插件文件到rabbitMQ的Docker容器中
[root@linux ~]# docker cp rabbitmq_delayed_message_exchange-20171201-3.7.x.ez rabbitmq3.7.7:/plugins4、进入rabbitMQ的Docker容器中docker exec -it rabbitmq3.7.7 bash
[root@linux ~]# docker exec -it rabbitmq3.7.7 bashroot@myRabbit:/# 5、查看插件列表
rabbitmq-plugins list【docker安装rabbitmq延时队列插件】6、启用插件
rabbitmq-plugins enable rabbitmq_delayed_message_exchange



    推荐阅读