dockerize icon indicating copy to clipboard operation
dockerize copied to clipboard

Unable to stat error since v0.6.1

Open hrak opened this issue 7 years ago • 1 comments

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 avatar Apr 10 '18 08:04 hrak

+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.

marpada avatar Apr 25 '18 23:04 marpada

Already fixed in fork https://github.com/powerman/dockerize

powerman avatar Nov 30 '18 23:11 powerman