-
Notifications
You must be signed in to change notification settings - Fork 601
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Docker-Gen not working with docker-ce 17.12 #270
Comments
Hi I'm not having any issues with docker-gen on the hosts that have docker 17.12 installed (Ubuntu 17.04 and 17.10, Debian 8 and Manjaro stable). |
Hey @raphirm, do you use Docker for Windows? My Error Log looks like this:
As you can see, it cannot find the nginx.tmpl. But nothing has changed since yesterday. Except for the Docker Version. TL;DR: I think it has something to do with how Docker for Windows shares your Windows-Drives. But I don't know how to fix it. EDIT: Just to confirm my theory: I've checked my other containers which are using Windows-Shares. All of them weren't able to get the share running. I think this is no docker-gen issue, but a docker for windows issue. |
Interesting. I use ubuntu as hostsystem and the nginx-proxy. docker-gen just hangs and does not output anything if started. i even tried to get into the container and start the process manually to generate another config file - nothing... when i have time i try to debug it a bit more, maybe i find out something. |
If you send a sigquit signal to docker-gen, it will crash with a stack trace that should help figure out why it is hanging. I have not seen the hang personally. |
I also have this problem with docker 17.12. Is there a fix, or is the best solution to downgrade the docker version? |
I also have it for docker for mac. |
I'm facing the same issue with docker-ce 17.12. Same scenario as @raphirm
@jwilder as suggested I've tried to send a sigquit, but nothing happend. I've downgraded one of our servers to docker-ce 17.09 and I will keep watching it. I really don't think it is something with docker-gen, because i have tried to run nginx-proxy with different versions of docker-gen and didn't work. |
Having the same issue. default.conf is never generated anymore. This started happening without changes to the container verison. I ran a few SIGQUITs on the docker-gen process and found that even if the call stack is different, the program is always blocked by
I can access the socket manually without any issues
So it's almost as if Go is having issues reading from the socket and becoming blocked indefinitely. EDIT: |
Can you be more specific regarding "A restart of the system"? For the TL:DR crowd, reboot the host, restart the container, restart dockerd? And I'm seeing this on: Server: |
I can confirm also that the error gone after a reboot of the docker service (Docker for Mac in my case). |
sudo service docker restart |
Since Docker 17.12 is more than six years old and this issue was never reliably reproduced, I guess we can safely close this. |
Hi Guys,
This December, docker had a major update to 17.12. docker-gen is not working anymore and just hangs. unfortunately because of no output, i was not able to get some debugging done. After a downgrade to 17.09, docker-gen was working fine again.
Regards
Raphael
The text was updated successfully, but these errors were encountered: