skip to Main Content

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.

2

Answers


  1. Chosen as BEST ANSWER

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

    C:Users%USER%AppDataLocalDocker
    

    and

    C:Users%USER%AppDataRomaingDockerlogvm
    

  2. By default, logs will be saved here in Windows:

    C:Users%USER%AppDataLocalDocker

    Format is log.X.txt, numbered sequentially. The logs will show much more information than the dashboard – you can search by "Error" or "Warning" which are elevated events, as opposed to typical "Info" log entries.

    To find a single daemon start (or stop), look for an event like this:

    [GoBackendProcess ][Info ] Starting C:Program FilesDockerDockerresourcescom.docker.backend.exe -addr unix:.pipedockerBackendApiServer -native-api

    [GoBackendProcess ][Info ] Started

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search