当前位置:   article > 正文

RabbitMQ 通过Docker方式快速安装_unable to find image 'rabbitmq:management' locally

unable to find image 'rabbitmq:management' locally

 

首先进入RabbitMQ 官网

http://www.rabbitmq.com/download.html

 

找到 Docker image 并进入

这里是最新版本 3.7.7-management,找到你需要安装的版本, -management 表示有管理界面的,可以浏览器访问。

接来下docker安装,我这里装的 3.7.3-management:

docker run -d --hostname my-rabbit -p 5672:5672 -p 15672:15672 rabbitmq:3.7.3-management
  1. [root@localhost ~]# docker run -d --hostname my-rabbit -p 5672:5672 -p 15672:15672 rabbitmq:3.7.3-management
  2. Unable to find image 'rabbitmq:3.7.3-management' locally
  3. Trying to pull repository docker.io/library/rabbitmq ...
  4. 3.7.3-management: Pulling from docker.io/library/rabbitmq
  5. 8176e34d5d92: Pull complete
  6. 26aa5c2fc28c: Pull complete
  7. 5a6866d83ad7: Pull complete
  8. 424ad5823c0c: Pull complete
  9. d23f7e6945ef: Pull complete
  10. 2983462f8b69: Pull complete
  11. 967a9b528d24: Pull complete
  12. 8d0036e245ae: Pull complete
  13. 5d5bde65188b: Pull complete
  14. d93abbe9c23b: Pull complete
  15. 341f84bd147c: Pull complete
  16. 8031e5e184d9: Pull complete
  17. 1b523a6d0598: Pull complete
  18. aeb395b80fc8: Pull complete
  19. Digest: sha256:0f681f18d80b2979596e8b262d06cacf7948e924d7f3a67e89be5fdea82cd116
  20. Status: Downloaded newer image for docker.io/rabbitmq:3.7.3-management
  21. 5d3bba75589b4d2dd9db569119beed6e4e0a2d40d7e3300720abd69d0adbd433
  22. [root@localhost ~]#

docker ps 看下

  1. [root@localhost ~]# docker ps
  2. CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
  3. 5d3bba75589b rabbitmq:3.7.3-management "docker-entrypoint..." About a minute ago Up About a minute 4369/tcp, 5671/tcp, 0.0.0.0:5672->5672/tcp, 15671/tcp, 25672/tcp, 0.0.0.0:15672->15672/tcp kickass_lamport
  4. [root@localhost ~]#

浏览器访问看下:

用户名/密码: guest/guest

OK,RabbitMQ安装完成。

 

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/IT小白/article/detail/385412
推荐阅读
相关标签
  

闽ICP备14008679号