You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We came accross a serious issue. When starting multiple container with docker-compose, sporadicly nginx-proxy seems to miss one or more of the virtual host. In one of our environments, this happens in 3 out of 4 cases. Unfortunately, I wasn't able to reproduce the same consistent fail in a synthetic test environment. But still 1 out of 10 start ups lead to a missing host in the default.conf.
In order to demonstrate it, here is my test docker-compose.yml
while constantly starting and stopping the containers:
while true; do docker-compose stop && sleep 2 && docker-compose up -d && sleep 5; done
With some patience, you will hopefully observe ending up with just the first of the two hosts. I even observed, having had both in it at the beginning, but then one disappeared. Seems like, sometimes event handling runs into race conditions. But this is just an educated guess.
Enviroment:
# docker-compose --version
docker-compose version 1.6.0, build d99cad6
# docker --version
Docker version 1.10.0, build 590d5108
The text was updated successfully, but these errors were encountered:
We came accross a serious issue. When starting multiple container with docker-compose, sporadicly nginx-proxy seems to miss one or more of the virtual host. In one of our environments, this happens in 3 out of 4 cases. Unfortunately, I wasn't able to reproduce the same consistent fail in a synthetic test environment. But still 1 out of 10 start ups lead to a missing host in the default.conf.
In order to demonstrate it, here is my test docker-compose.yml
To observe the results I run a lookup on the proxys default.conf:
while constantly starting and stopping the containers:
With some patience, you will hopefully observe ending up with just the first of the two hosts. I even observed, having had both in it at the beginning, but then one disappeared. Seems like, sometimes event handling runs into race conditions. But this is just an educated guess.
Enviroment:
The text was updated successfully, but these errors were encountered: