Keeping Docker Daemon running wit Docker CE on windows 2019 or 2016 RRS feed

  • Question

  • Hi,  We have docker CE setup on some machines and doing so testing with Docker containers, deploys,etc.  Seems to be working ok for the most part.

    However we have docker desktop / docker engine / daemon  starting up on a user login.   Once that user logs out or is auto logged out the docker daemon stops running and the docker builds start failing.

    error during connect: Delete http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.40/containers/containername: 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.

    Is there a way to keep the docker daemon running without a user login?

    Here is our docker info details

     Debug Mode: false

     Containers: 65
      Running: 3
      Paused: 0
      Stopped: 62
     Images: 47
     Server Version: 19.03.2
     Storage Driver: windowsfilter
     Logging Driver: json-file
      Volume: local
      Network: ics l2bridge l2tunnel nat null overlay transparent
      Log: awslogs etwlogs fluentd gcplogs gelf json-file local logentries splunk syslog
     Swarm: inactive
     Default Isolation: process
     Kernel Version: 10.0 17763 (17763.1.amd64fre.rs5_release.180914-1434)
     Operating System: Windows Server 2019 Standard Version 1809 (OS Build 17763.678)
     OSType: windows
     Architecture: x86_64
     CPUs: 4
     Total Memory: 8GiB
     Name: Machine1
     Docker Root Dir: E:\docker_data
     Debug Mode: true
      File Descriptors: -1
      Goroutines: 48
      System Time: 2019-09-26T14:57:54.7875652-05:00
      EventsListeners: 1
     Experimental: false
     Insecure Registries:
     Live Restore Enabled: false
     Product License: Community Engine

    • Edited by LanceLyons Monday, September 30, 2019 4:47 PM
    Thursday, September 26, 2019 8:01 PM

All replies

  • Greetings,

    You can use following steps to install Docker EE on windows server. It will be running as a service.

    Sic Parvis Magna

    Friday, September 27, 2019 9:30 AM
  • Thanks Huajun,    That certainly seems to have done the trick.



    • Edited by LanceLyons Tuesday, October 1, 2019 1:31 PM
    Monday, September 30, 2019 2:22 PM
  • Does the version of Docker Enterprise Engine mentioned above support Linux images?  I have tried to do dockercli.exe -SwitchDaemon and it seems to revert to Docker CE that is also installed on the machine to allow certain docker commands like docker-compose.

    Wednesday, October 9, 2019 6:42 PM
  • Linux Container on Windows (LCOW) is under active development. Please refer to this doc.

    Sic Parvis Magna

    Thursday, October 10, 2019 9:08 AM