How to start Docker daemon (windows service) at startup without the need to log-in?

前端 未结 4 1666
遇见更好的自我
遇见更好的自我 2020-12-25 13:50

We have Docker for Windows installed on a Windows Server 2016 Datacenter box.

We use this box as a build agent for our docker containers.

When we try to conn

4条回答
  •  天命终不由人
    2020-12-25 14:36

    I can confirm eckes' comment above. Nothing seems to work. I was very diligent with setting up the Task Scheduler to run under the SYSTEM user with elevated priveleges, etc. and still no luck.

    I did find one solution that requires third party software. The software AlwaysUp allows Docker to run at startup without the need to login.

    I followed the instructions, except rather than Docker Tools as the executable to run, I pointed to reference\dockerd.exe. Restarted the server, and sure enough I can now connect to my remote daemon.

    I recommend this approach as the simplest solution.

提交回复
热议问题