Reputation: 2244
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?
Upvotes: 1
Views: 155
Reputation: 1328522
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.
Upvotes: 2