Open hrak opened 6 years ago
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.
+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.
Already fixed in fork https://github.com/powerman/dockerize
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.