Search code examples
dockercontainersdocker-daemon

How to check when docker daemon was restarted on widows?


I am running Docker Daemon on a windows server and I have several containers running on it. In the last 2 days, the server was not restarted but the containers suddenly stopped running. When I open docker dashboard the containers show as they are restarting.

What could be the reason of the containers suddenly stopping? My suspicion is that the daemon is stopping for some reason, but I don't know how to check when it was actually stopped/started.


Solution

  • You can find the docker daemon logs on windows in 2 locations:

    C:\Users\%USER%\AppData\Local\Docker
    

    and

    C:\Users\%USER%\AppData\Romaing\Docker\log\vm