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,040 points
2,398 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,300 points
7,594 views
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,040 points
2,244 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,370 points
11,666 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
• 10,550 points
1,405 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,140 points
1,317 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
10,231 views
0 votes
1 answer