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
• 7,060 points
4,074 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,680 points

Related Questions In Docker

+1 vote
1 answer

Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?

Hi@akhtar, It seems the docker service is not ...READ MORE

answered Dec 24, 2020 in Docker by MD
• 95,460 points
15,508 views
0 votes
0 answers
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
• 7,060 points
3,275 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
• 52,350 points
15,033 views
+2 votes
1 answer
+2 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
• 58,020 points
2,715 views
+2 votes
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,680 points
12,383 views
0 votes
1 answer
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP