Closed
Description
The cron container exists after starting.
Preconditions
- Use 1.0 docker images (or 1.1)
Steps to reproduce
- Run docker-compose up -d
Expected result
- Cron container starts and runs in the background
Actual result
- Cron container exits after some seconds
$ docker logs local_cron_1
Updating www uid and gid
Docker: uid = 1000, gid = 1000
Incumbent: user = www, group = www
Starting Mail Transport Agent (MTA): sendmail.
tail: cannot open '/var/log/cron.log' for reading: No such file or directory
tail: no files remaining
From what I can see, the lines CRON_LOG=/var/log/cron.log
and touch $CRON_LOG
were deleted in the 1.0 tags (and 1.1) docker-entrypoint.sh scripts.
Was there a reason for that?