-
Notifications
You must be signed in to change notification settings - Fork 183
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
I get a strange error when starting my nginx-gen container #3
Comments
Assuming you are using the original |
The relevant part in the above error is: I tried changing the line
to
but doesn't seem to do the trick. Any ideas? |
As mentioned above, I've only seen this error when the file in question ( |
I think this is an issue only when running the sample project on a remote docker host, e.g. one created by One possible fix is to create a dummy container for the template file, see inspired by fatk/docker-letsencrypt-nginx-proxy-companion-examples#5 (comment) |
Makes sense, thanks for letting me know. |
To followup on that issue, it seems when using a remote host with A workaround is to make the sample-website a self-contained Docker image so it won't depend on any volumes. This is how I did it: https://github.com/fle-internal/sushibar/commit/474fbd33a22eb6206ea52266f1f103b81e60d4a0 Note also I had to change Works great now! @gilyes thanks for saving me weeks figuring out this whole stack... very useful project, so happy I found it. |
Have tried to figure this one out myself, but no. Seriously, it is not a directory.
nginx-gen | 2017/05/12 04:17:44 Unable to parse template: read /etc/docker-gen/templates/nginx.tmpl: is a directory
nginx-gen | 2017/05/12 04:17:46 Error inspecting container: 0c1bc124d911f35483317010a5f55035df99452631ac19290a0e089b427c1641: No such container: 0c1bc124d911f35483317010a5f55035df99452631ac19290a0e089b427c1641
nginx-gen | 2017/05/12 04:17:46 Unable to parse template: read /etc/docker-gen/templates/nginx.tmpl: is a directory
nginx-gen | 2017/05/12 05:08:01 Unable to parse template: read /etc/docker-gen/templates/nginx.tmpl: is a directory
nginx-gen | 2017/05/12 05:08:02 Unable to parse template: read /etc/docker-gen/templates/nginx.tmpl: is a directory
The text was updated successfully, but these errors were encountered: