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

后端 未结 0 1279
無奈伤痛
無奈伤痛 2021-02-13 08:10

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

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