Docker Community Forums

Share and learn in the Docker community.

Is there a way to keep Docker Desktop for Windows running all the time?

We have a docker container build/deploy server (windows 2016 server) with Docker Desktop.

We have docker engine running as a service.

After a period of inactivity When performing a build it seems like the docker desktop service is no longer running.

On this command or any docker command.

docker container stop QAAAuthService

We get this error.

error during connect: Post http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.39/containers/QAAAuthService/stop: 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.

If I login to the server, docker starts up and the build/deploy works fine.

How can we keep docker desktop running all the time so we dont have this error after a period of time.

Any suggestions on this would be much appreciated?