docker icon indicating copy to clipboard operation
docker copied to clipboard

Access logs from the host where the container is running

Open tonitonae opened this issue 4 years ago • 1 comments

Hi.

I was trying to setup fail2ban to block unsuccessful login attempts to my Wallabag instance running in Docker. However, I do not seem to find where logs are being stored and how to access them from outside the instance (is this even possible?).

Any clues on this?

Thanks

tonitonae avatar Oct 13 '20 09:10 tonitonae

Found log in /var/www/wallabag/var/logs/prod.log which contains Authentication failure record. But if using reverse proxy will get wrong IP. (And I found /var/log/nginx/access.log is empty)

blacktea1105 avatar Feb 12 '22 09:02 blacktea1105