Skip to content

Instantly share code, notes, and snippets.

@yetanotherchris
Last active April 29, 2023 07:10
Show Gist options
  • Star 63 You must be signed in to star a gist
  • Fork 24 You must be signed in to fork a gist
  • Save yetanotherchris/c954d1e8b688845c2dcdb3b33c94b2d2 to your computer and use it in GitHub Desktop.
Save yetanotherchris/c954d1e8b688845c2dcdb3b33c94b2d2 to your computer and use it in GitHub Desktop.
RabbitMQ on Docker with admin UI
# AWS specific install of Docker
sudo yum update -y
sudo yum install -y docker
sudo service docker start
sudo usermod -a -G docker ec2-user
# exit the SSH session, login again
# Docker
docker run -d --hostname my-rabbit --name some-rabbit -p 4369:4369 -p 5671:5671 -p 5672:5672 -p 15672:15672 rabbitmq
docker exec some-rabbit rabbitmq-plugins enable rabbitmq_management
# Login at http://localhost:15672/ (or the IP of your docker host)
# using guest/guest
@RafaNetow
Copy link

Thanks man , you save my day

@mldisibio
Copy link

Five years later and this was helpful. Running the masstransit/rabbitmq image from docker-compose and even though it's based on 3-managment-alpine, for some reason the management plugin is not enabled.
FYI to future readers, the same docker exec command listed above can simply follow a docker-compose up command in a simple script file

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment