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,920 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
16,489 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
4,359 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,340 points
17,221 views
+2 votes
1 answer
+15 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
7,806 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
14,409 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