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,900 points
146 views

1 answer to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
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,900 points
157 views
0 votes
5 answers

denied: requested access to the resource is denied : docker

Hey this might sound stupid but in ...READ MORE

answered Apr 23 in Docker by Harsh
1,308 views
0 votes
1 answer
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,100 points
56 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
1,151 views
0 votes
1 answer

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.