Skip to content

Unable to stat error since v0.6.1 #112

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

Open
hrak opened this issue Apr 10, 2018 · 1 comment
Open

Unable to stat error since v0.6.1 #112

hrak opened this issue Apr 10, 2018 · 1 comment

Comments

@hrak
Copy link

hrak commented Apr 10, 2018

After merge of #101 dockerize is throwing a 'unable to stat' error when log files do not exist before starting. This used to work up until v0.6.0.

This f.e. happens when you run nginx in a container and in the container /var/log/nginx is just an empty dir waiting for logs to be written there.

A workaround could ofcourse be to touch empty files in the log location during container build, but it is a change in behavior that is not documented.

hrak added a commit to hrak/nginx-ldap that referenced this issue Apr 10, 2018
@marpada
Copy link

marpada commented Apr 25, 2018

+1. Touching the log files is not an easy workaround for us as the log folder is mapped to a VOLUME on a base image several levels up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants