Docker Community Forums

Share and learn in the Docker community.

Where are the log files located?

I am probably just blind.

I am using Docker version 19.03.1 build 74b1e89, Docker Desktop (community) 2.1.0.1, and macOS 10.14.6 (Mojave).

https://docs.docker.com/config/daemon/ mentions that the docker daemon logs should be stored at ~/Library/Containers/com.docker.docker/Data/vms/0/console-ring for my machine, but I do not see them. Any idea where I might find them on macOS?

Also, https://docs.docker.com/v17.12/docker-for-mac/troubleshoot/ also seems to be out-of-date.

Thank you.

It appears the answer is to:

screen ~/Library/Containers/com.docker.docker/Data/vms/0/tty

which connects to the docker vm (?) and then one can tail -f /var/log/docker.log