2

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?

Community
  • 1
  • 1
Kingamere
  • 9,496
  • 23
  • 71
  • 110

1 Answers1

2

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.

Henrik Sachse
  • 51,228
  • 7
  • 46
  • 59
  • Thanks, you are always helpful. Another way I figured out to get in (and it is a bit easier to see) is through the oracle virtual box. Click 'Show' on the VM you wanna see, which will open up the command line terminal – Kingamere Aug 14 '15 at 12:22