skip to content
Alvin Lucillo

Declaring a queue

/ 1 min read

RabbitMQ Management CLI is already available in the rabbitmq image. With that CLI, you can manage queues such as declaring and listing them:

docker exec -it rabbitmq rabbitmqadmin declare queue --name=greetings

docker exec -it rabbitmq rabbitmqadmin list queues --table-style=borderless
greetings / classic true  false false x-queue-type: "classic" rabbit@497e63a7427a running    109488 0 0  0  0 0 
hello     / classic false false false x-queue-type: "classic" rabbit@497e63a7427a running    13856  0 0  12 1 0