Traefik 不会偶尔在 Docker Compose 上向后端添加容器

Min*_*anh 6 traefik

升级到 Traefik 1.7 版本(docker image: traefik:v1.7 )后,我们看到 Traefik 有时无法向后端添加自动重启的容器。当我们再次重新启动 Traefik 时它会正常工作。这是来自 Traefik 的错误日志:

?time="2018-07-27T11:01:56Z" level=warning msg="Unable to find the IP address for the container \"/drone-server\": the server is ignored." time="2018-07-27T11:01:56Z" level=error msg="undefined backend 'backend-drone-server' for frontend frontend-Host-ci-example-com-0. Skipping frontend frontend-Host-ci-example

我找不到与此类问题相关的太多信息。我们可以做些什么来解决这个问题?