解决方案 Docker Compose 中的主机变量在 extra_hosts 中无效的问题及解决方案 问题描述 在使用 Docker Compose 时,遇到了一个关于在 extra_hosts 中使用主机变量的…