Issue
How to enable ssh connections log (/var/log/auth.log) in a Docker container with openssh-server?
The /var/log/auth.log not exists in my container.
Solution
The auth log is managed by the Syslog service.
This service itself is traditionally managed (started) by the init system (Upstart in your case).
By default a container doesn't run an init system, meaning that you'd have to start rsyslog
manually :
# rsyslogd
After that, you'll find your usual log files in /var/log.
NB: init systems are not fully compatible with Docker containers. A common practice is to use Supervisord to start multiple services/processes automatically.
Answered By - mbarthelemy Answer Checked By - Cary Denson (WPSolving Admin)