Where is the Docker daemon log?

0 votes

Where is the Docker daemon log? I'm looking for daemon log for troubleshooting communications between the client and container via proxy and not for docker container STDOUT.

Jul 18, 2018 in Docker by Nilesh
• 6,880 points
538 views

1 answer to this question.

0 votes
It depends on your OS. Here are the few locations, with commands for few Operating Systems:

·         Ubuntu (old using upstart ) - /var/log/upstart/docker.log

·         Ubuntu (new using systemd ) - sudo journalctl -fu docker.service

·         Boot2Docker - /var/log/docker.log

·         Debian GNU/Linux - /var/log/daemon.log

·         CentOS - /var/log/daemon.log | grep docker

·         CoreOS - journalctl -u docker.service

·         Fedora - journalctl -u docker.service

·         Red Hat Enterprise Linux Server - /var/log/messages | grep docker

·         OpenSuSE - journalctl -u docker.service

·         OSX - ~/Library/Containers/com.docker.docker/Data/com.docker.driver.amd64-linux/log/d‌​ocker.log

Windows - Get-EventLog -LogName Application -Source Docker -After (Get-Date).AddMinutes(-5) | Sort-Object Time
answered Jul 18, 2018 by Kalgi
• 2,620 points

Related Questions In Docker

0 votes
1 answer

What is the difference between “expose” and “publish” in Docker?

Basically, you have three options: Neither specify EXPOSE nor -p -> ...READ MORE

answered Jul 18, 2018 in Docker by Nilesh
• 6,880 points
373 views
0 votes
5 answers

denied: requested access to the resource is denied : docker

You need to tag your image before ...READ MORE

answered Jul 27, 2018 in Docker by Kalgi
• 41,470 points
2,802 views
0 votes
1 answer

Where can I find Docker log (driver json-file) location for ‘Docker for windows’?

For windows, the container storage is the ...READ MORE

answered Aug 16, 2018 in Docker by Sophie may
• 9,850 points
156 views
0 votes
2 answers
0 votes
1 answer
0 votes
1 answer

Deploy Docker Containers from Docker Cloud

To solve this problem, I followed advice ...READ MORE

answered Sep 3, 2018 in AWS by Priyaj
• 56,900 points
187 views
+1 vote
5 answers

Where are Docker images stored on the host machine?

The contents of the /var/lib/docker directory vary ...READ MORE

answered Jul 18, 2018 in Docker by Kalgi
• 2,620 points
2,337 views
0 votes
1 answer