[Question]: Self-hosted runner as a Service - The term 'docker' is not recognized #1716
-
AL-Go version7.1 Describe the issueHi, I've succesfully configured multiple self-hosted runners on a local Hyper-V VM. However when the runner runs as a service it seems there are things it's not finding. I get this error: When i run the runner in a Powershell prompt, everything runs just fine. Expected behaviorI was expecting it to run just as well as in a powershell prompt. Steps to reproduce
Additional context (logs, screenshots, etc.)NETWORK SERVICE account is part of local administrators group. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
Use "NT AUTHORITY\SYSTEM" instead of NETWORK_SERVICE. |
Beta Was this translation helpful? Give feedback.
-
How did you install docker? |
Beta Was this translation helpful? Give feedback.
How did you install docker?
Are you using Docker Desktop - then that might be user specific.
I am using this script: https://github.com/microsoft/nav-arm-templates/blob/main/InstallOrUpdateDockerEngine.ps1 - with EnvScope set to Machine (instead of User)