Answer the question
In order to leave comments, you need to log in
Why isn't hosts automatically added to /etc/hosts within the same network in Docker?
Greetings.
I'm digging into the docker as part of this article https://habrahabr.ru/post/310460/
At the stage of automatically adding hosts to /etc/hosts within the same network, I broke down.
I do everything according to the guide, but the hosts are not added.
Tell me what I'm doing wrong. Where to dig.
The place in the article can be found by the expression (this expression is also below):
Теперь у нас есть сеть. Можно запустить наши контейнеры внутри сети с помощью флага --net.
Answer the question
In order to leave comments, you need to log in
https://docs.docker.com/engine/userguide/networkin... dig here
https://blog.amartynov.ru/docker-user-defined-networks/
https://docs.docker.com/engine/userguide/networking/
dotsandbrackets.com/communication-between-docker-c...
In the meantime, in the habr article just below:
https://github.com/docker/libnetwork/issues/767
https://blog.docker.com/2016/02/docker-1-10/
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question