D
D
driverx182019-06-07 23:48:38
Docker
driverx18, 2019-06-07 23:48:38

How can I access a web application that I have deployed in Docker?

I use docker for the first time, there is a problem, I wanted to deploy RabbitMQ, I did it as in the tutorial . I found the IP address, indicated the port, I enter it into the browser, it seems that the connection is going on but there is no result. The IP found this way docker inspect -f '{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' some-rabbit
Who can tell me how to get into the web version of the rabbit? Do I need to do some tricks with the docker machine, etc.?
I attached the result of docker ps with a screenshot5cface165efbd845222005.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Sviridov, 2019-06-08
@driverx18

Your image should be rabbitmq:3-management. And you have just 3, as I see it. Look at your link "Management Plugin". I don’t know why you had to look for an IP address somewhere, because, as I understand it, you only need a port (Your IP address is 127.0.0.1 - and you need to enter it in the browser by adding the port). In the same dock, by reference, it is indicated - you need to forward it outside. I advise you not to do this at all, but to create a docker-compose.yml file for the project, where you describe the entire infrastructure - and run through it. It's easier and more convenient.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question