티스토리 뷰

반응형

다음의 명령을 입력하여 RabbitMQ image를 가져오고 확인해보자.

managmenet plugin이 적용된 image를 pull. 

$ docker pull rabbitmq:3-management
3-management: Pulling from library/rabbitmq
f476d66f5408: Pull complete 
8882c27f669e: Pull complete 
d9af21273955: Pull complete 
f5029279ec12: Pull complete 
ecb5cfa3e5cd: Pull complete 
c550ae261a9a: Pull complete 
1cf9f151bbe5: Pull complete 
dce70e8062a5: Pull complete 
17e12763b68e: Pull complete 
58f04ec643f2: Pull complete 
a512802f3629: Pull complete 
a3c61d60380f: Pull complete 
Digest: sha256:8e9cab7c220481009c68cced86a133cb084c38651428146b72c7520582689fe9
Status: Downloaded newer image for rabbitmq:3-management

$ docker images
REPOSITORY          TAG                 IMAGE ID            CREATED             SIZE
rabbitmq            3-management        b3d4f9bdc05b        32 hours ago        228MB

다음의 명령을 입력하여 docker container를 실행한다.

기본 포트(Port)는 15672를 사용하고 있다. 나는 30000포트를 이용해 RabbitMQ의 15672포트에 접근하도록 설정했다.

$ docker run -d --hostname rabbit --name rabbit -p 30000:15672 rabbitmq:3-management
8db34d64ca150593308f648438203f06d1d15d0350a54f24d804182c2515dc1b

$ docker ps
CONTAINER ID        IMAGE                   COMMAND                  CREATED             STATUS              PORTS                                                                     NAMES
8db34d64ca15        rabbitmq:3-management   "docker-entrypoint.s…"   4 seconds ago       Up 3 seconds        4369/tcp, 5671-5672/tcp, 15671/tcp, 25672/tcp, 0.0.0.0:30000->15672/tcp   rabbit

실행이 완료되면 http://localhost:30000/ 으로 접근하여 다음 화면을 볼 수 있다.

기본 아이디 패스워드를 입력한다.

default ID/PW = guest/guest

docker official image - https://hub.docker.com/_/rabbitmq/

 

rabbitmq - Docker Hub

3.8.0-beta.3, 3.8-rc (3.8-rc/ubuntu/Dockerfile) 3.8.0-beta.3-management, 3.8-rc-management (3.8-rc/ubuntu/management/Dockerfile) 3.8.0-beta.3-alpine, 3.8-rc-alpine (3.8-rc/alpine/Dockerfile) 3.8.0-beta.3-management-alpine, 3.8-rc-management-alpine (3.8-rc/

hub.docker.com

RabbitMQ - https://www.rabbitmq.com/

 

Messaging that just works — RabbitMQ

 

www.rabbitmq.com

반응형
댓글
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
«   2024/12   »
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 31
글 보관함