How can I add hostnames to a container on the same docker network?

后端 未结 0 1139
既然无缘
既然无缘 2021-02-13 08:06

Suppose I have a docker compose file with two containers. Both reference each other in their /etc/hosts file. Container A has a reference for container B and vice versa. And all

相关标签:
回答
  • 消灭零回复
提交回复
热议问题