Docker Community Forums

Share and learn in the Docker community.

Docker desktop daemon stops after period of time

Is there a version of docker desktop that runs on a windows server that will stay running in Linux container mode?

we are building some linux based containers on a windows server (.net core) and this works so far but after a period of inactivity, the docker engine or daemon stops and somebody has to log onto the machine to start it back up.

We have Docker Enterprise running on a few build servers and that stays running but you can only build windows based containers.

Steps to reproduce the behavior
Start Docker Desktop for Windows 10 build 1903 with VMWare Tools v. 11265 (11.0.1)
Wait 10-15 minutes
Connection to Docker is lost, and the error “Error response from daemon: Bad response from Docker engine” is written when running commands such as docker ps
Steps to avoid the problem
Uninstall VMWare Tools v. 11265 (11.0.1)
Install v. 10309 (10.2.5)
Enjoy Docker

We gave this a shot and it did not work. We specifically set the vmware tools to 10.2.5 and we still get this error after several hours of inactivity on the machine with docker desktop installed.

error during connect: Post http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.40/auth: open //./pipe/docker_engine: The system cannot find the file specified. In the default daemon configuration on Windows, the docker client must be run elevated to connect. This error may also indicate that the docker daemon is not running.