I use docker on centOS, and test docker on MAC OS X. But I want to see the log information when docker run. How to find the log?
Asked
Active
Viewed 81 times
1 Answers
2
The daemon on Boot2docker or CentOS should have its log in /var/log/docker.log
.
For boot2docker, you need to be in a boot2docker session.
(this isn't always the case: On Ubuntu, for instance, this would be different: /var/log/upstart/docker.log
).
If you need to see more log, you can start the daemon with the -D
option.

VonC
- 1,262,500
- 529
- 4,410
- 5,250
-
Thanks a lot for your help. – v11 Jul 17 '15 at 11:00
-
Excuse me,I use the method to create mirror, but it didn't work. Can you help me? http://stackoverflow.com/questions/31517388/how-to-create-docker-registry-mirror-on-centos – v11 Jul 21 '15 at 01:37