I expected to find the logs in /var/log/upstart
or /var/lib/docker
but had no such luck. I'm trying to debug a docker-compose issue and it'd be extremely helpful to know what API calls are being made behind the scenes.
You can check these places:
journalctl -u docker
for docker logs in the systemd journaljournalctl | grep docker
for system logs that mention dockerdocker logs CONTAINER
for logs of a container named CONTAINERAnd to tail it you can use the following :
journalctl -u docker -n -f
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With