B
B
bio2017-05-17 17:36:30
Docker
bio, 2017-05-17 17:36:30

How to forward local ip to container?

Good afternoon!
There are two projects, one in docker, the other is not. It is
necessary to make sure that the project in docker can reach the project outside the docker by local ip.
I tried extra_hosts, but it doesn't help with local ip addresses.
Tell me how to be?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vlad, 2017-05-17
@d1skort

--network host

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question