v11
v11

Reputation: 2244

How to see the log information in running docker daemon?

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

Answers (1)

VonC
VonC

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

Related Questions