I'm building on top of a Postgres Docker container which has cron implemented on top of Debian Jessie:
For debugging I want to look at the logs which I'm expecting to be at /var/log/syslog
, but I don't have syslog on the system.
Would I need to turn on logging manually with a Debian Jessie Docker container?
Best Answer
You need to install
rsyslog
inside the container. You could do this indockerfile
.Example of simplest
dockerfile
: