Skip to content

Setup Docker Desktop as startup application

AndrasSamsaSoftware edited this page Feb 16, 2021 · 1 revision

If Docker Desktop is installed on the server and it will not startup with the Windows Server we add a task in the Task Scheduler.

1. Search Task Scheduler and Run as administrator.

(If you have an exported task already you can do step 3 instead of 2 to import your task.)

task_sched_create_task_1


2. Set the following things in Create Task window.

General tab

  • Name: Docker startup
  • Check: Run whether user is logged on or not
  • Configure for: Windows Server 2019 (or the one that matches with the OS)

Triggers tab -> Add new trigger

  • Begin the task: At startup
  • Delay task for: 1 minute
  • Check at bottom: Enabled

Actions tab -> Add new action

  • Action: Start a program
  • Program/script: {$PATH}\Docker Desktop.exe
  • Check at bottom: Enabled

Actions tab -> uncheck all

Settings tab -> set the following (to be edited)

3. Add the current user to the "docker-users" user group.

tes

Clone this wiki locally