Friday, 11 June 2021

Rabbit Mq - docker

docker run -d --rm -it --hostname my-rabbit -p 15672:15672 -p 5672:5672 rabbitmq:3-management

You can then go to http://localhost:15672/#/ in a browser.


In case you want to change port after container is created

  1. stop running container

    docker stop some-rabbit
    
  2. commit the container

    docker commit some-rabbit rabbitMq
    

    NOTE: The above, test02 is a new image that I'm constructing from the test01 container.

  3. re-run from the commited image

    docker run -p 8080:8080 -td rabbitMq


No comments:

Post a Comment

Search This Blog

Creating your first "Alexa" Skill

Index What is Alexa What is Alexa Skill? Why is it required when Alexa already equipped with voice assistant? Dev...