1、搜索镜像
docker search rabbitmq:management
搜寻结果:
NAME DESCRIPTION STARS OFFICIAL AUTOMATED
macintoshplus/rabbitmq-management Based on rabbitmq:management whit python and… 9 [OK]
transmitsms/rabbitmq-sharded Fork of rabbitmq:management with sharded_exc… 0
yunyan2140/rabbitmq docker pull rabbitmq:management 0
2、安装镜像
docker pull rabbitmq:management
如果报以下错误表示未登录hub.docker.com:
Error response from daemon: pull access denied for rabbit, repository does not exist or may require 'docker login': denied: requested access to the resource is denied
3、运行镜像
docker run -di --name test_rabbitmq -p 5672:5672 -p 5671:5671 -p 4369:4369 -p 15671:15671 -p 15672:15672 -p 25672:25672 rabbitmq:management
dfc91de8821f6ef44e8b35d4af583bfcd8f7aa042f892225f751b90484c302be
4、登录管理后台
默认账号/密码均为guest
地址:ip:15672
|