Centos7中Docker安装RabbitMQ.docx

上传人:A*** 文档编号:142724401 上传时间:2020-08-22 格式:DOCX 页数:5 大小:424.65KB
返回 下载 相关 举报
Centos7中Docker安装RabbitMQ.docx_第1页
第1页 / 共5页
Centos7中Docker安装RabbitMQ.docx_第2页
第2页 / 共5页
Centos7中Docker安装RabbitMQ.docx_第3页
第3页 / 共5页
Centos7中Docker安装RabbitMQ.docx_第4页
第4页 / 共5页
Centos7中Docker安装RabbitMQ.docx_第5页
第5页 / 共5页
亲,该文档总共5页,全部预览完了,如果喜欢就下载吧!
资源描述

《Centos7中Docker安装RabbitMQ.docx》由会员分享,可在线阅读,更多相关《Centos7中Docker安装RabbitMQ.docx(5页珍藏版)》请在金锄头文库上搜索。

1、Centos7中Docker安装RabbitMQ一、选择相应得镜像访问:https:/ pull rabbitmq:3.7.17-managementrootshendu # docker pull rabbitmq:3.7.17-managementTrying to pull repository docker.io/library/rabbitmq . 3.7.17-management: Pulling from docker.io/library/rabbitmq35c102085707: Pull complete 251f5509d51d: Pull complete 8e829

2、fe70a46: Pull complete 6001e1789921: Pull complete 79bdb7145cce: Pull complete a53ba598956f: Pull complete 78be6aa88825: Pull complete 78743b5c9607: Pull complete af023e02a847: Pull complete 2259c0afa940: Pull complete 347b67546dd0: Pull complete a139db4173f7: Pull complete Digest: sha256:9fb2ba3cb4

3、6fbf88486ce522858c65bbcdfe80cc8c67eaf2a06be2cec0144fe6Status: Downloaded newer image for docker.io/rabbitmq:3.7.17-management查看是否拉取成功rootshendu # docker imagesREPOSITORY TAG IMAGE ID CREATED SIZEdocker.io/rabbitmq 3.7.17-management 7601e834fa14 46 hours ago 177 MBrootshendu # 二、启动RabbitMQrootshendu

4、# docker run -d -p 5672:5672 -p 15672:15672 -name myrabbitmq 7601e834fa14-d:后台运行-p:映射端口-p 5672:5672 :把主机的5672端口映射成rabbitMQ的5672端口-p 15672:15672 : web管理界面的name :起个名字7601e834fa14:镜像的id查询状态rootshendu # rootshendu # docker run -d -p 5672:5672 -p 15672:15672 -name myrabbitmq 7601e834fa14346c168369d2d63e4

5、4c48fa0a25ac84a41a21463df084c0b8233f0dd5160441brootshendu # rootshendu # rootshendu # docker psCONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES346c168369d2 7601e834fa14 docker-entrypoint. 9 seconds ago Up 8 seconds 4369/tcp, 5671/tcp, 0.0.0.0:5672-5672/tcp, 15671/tcp, 25672/tcp, 0.0.0.0:15672-15672/tcp myrabbitmqrootshendu # 测试是否访问成功在浏览器中输入:http:/安装RabbitMQ的主机IP:15672出现如下界面代表访问成功输入默认的账号密码:账号:guest密码:guest

展开阅读全文
相关资源
正为您匹配相似的精品文档
相关搜索

最新文档


当前位置:首页 > IT计算机/网络 > 其它相关文档

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号