运行docker
systemctl start docker
查看进程
ps -ef | grep docker
# 运行rabbit
docker run -d --hostname my-rabbit --name rabbit -p 15672:15672 -p 5672:5672 rabbitmq
# 之前配置过了,直接启动容器即可
docker start e2d0926d854
docker stop 9e2d0926d854
docker restart 9e2d0926d854
docker ps -a 查看容器id
# 进入容器
docker exec -it 50717104f2c2 /bin/bash
标签:ps,容器,启动,rabbitmq,start,rabbit,docker From: https://www.cnblogs.com/do-it-520/p/16748313.html
# 开启web管理界面
rabbitmq-plugins enable rabbitmq_management