Reputation: 10112
I am looking for the docker-daemon logs, the ones that display information between the docker client and the docker daemon.
According to this answer: Where is the Docker daemon log?
The log is supposed to be in /var/log/docker.log
for boot2docker (I am running docker on windows).
However, boot2docker is deprecated and replaced by docker-machine
.
Regardless, I do not have the directory or log file listed above. I do not even have a /var directory.
After creating one the above log file in the specified path, the daemon did not even write to the docker.log file as well.
Any ideas?
Upvotes: 2
Views: 1170
Reputation: 54162
When you use boot2docker
or docker-machine
you first need to ssh into that VM with docker-machine ssh <machineName>
. There you will find the /var/log/
folder.
Upvotes: 2