Docker安装部署RabbitMQ
docker search rabbitmq:management
#注意:如果docker pull rabbitmq 后面不带management,启动rabbitmq后是无法打开管理界面的,所以我们要下载带management插件的rabbitmq.
docker pull rabbitmq:management
docker images
docker run -d -p 5672:5672 -p 15672:15672 --name rabbitmq rabbitmq:management
#查看容器是否启动
docker ps -a