A
A
Artem Kondratsky2019-03-18 20:15:50
MongoDB
Artem Kondratsky, 2019-03-18 20:15:50

How to make it possible to use mongodb inside a docker container?

There is a container in which the NodeJS application is installed. Inside this container, I try to access MongoDB, which is installed at the system level (not in the container), but nothing happens. How can I forward the MongoDB port (27017) there?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
N
Nikolai Konyukhov, 2019-03-18
@heahoh

https://stackoverflow.com/questions/24319662/from-...
https://docs.docker.com/docker-for-mac/networking/...

B
blackbeard, 2019-03-19
@Black_beard_ast

https://www.webhive.ru/2018/06/20/access-from-insi...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question