数据卷:
数据:/etc/lib/rabbitmq
日志:/var/log/rabbitmq
配置文件:/var/rabbitmq/conf
docker run --hostname=rabbitmq -name rabbitmq
-v /volumes/rabbitmq/data:/etc/lib/rabbitmq
-v /volumes/rabbitmq/log:/var/log/rabbitmq
-v /volumes/rabbitmq/conf:/var/rabbitmq/conf
-dp 15672:15672 rabbitmq:3-management
--hostname一定要加上