[Bug]: You need to run as administrator or you can run Check-BcContainerHelperPermissions -Fix to fix permissions
AL-Go version
7.0
Describe the issue
Error during determine artifact url action. Full Error : `Running on Windows, PowerShell 5.1.20348.2849 nt authority\network service does NOT have Full Control to C:\ProgramData\BcContainerHelper and all subfolders You need to run as administrator or you can run Check-BcContainerHelperPermissions -Fix to fix permissions nt authority\network service does NOT have modify permissions to C:\Windows\System32\drivers\etc\hosts You need to run as administrator or you can run Check-BcContainerHelperPermissions -Fix to fix permissions ERROR: docker : error during connect: in the default daemon configuration on Windows, the docker client must be run with elevated privileges to connect: Get "http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.47/containers/json": open //./pipe/docker_engine: Access is denied. At C:\ProgramData\BcContainerHelper\6.1.3\BcContainerHelper\Check-BcContainerHelperPermissions.ps1:145 char:19 $ps = docker ps 2> $tempFile ~~~~~~~~~~~~~~~~~~~~~~ CategoryInfo : NotSpecified: (error during co...cess is denied.:String) [], RemoteException FullyQualifiedErrorId : NativeCommandError
npipe: //./pipe/docker_engine nt authority\network service does NOT have permissions to run docker commands You need to run as administrator or you can run Check-BcContainerHelperPermissions -Fix to fix permissions error during connect: in the default daemon configuration on Windows, the docker client must be run with elevated privileges to connect: Get "http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.47/containers/json?all=1": open //./pipe/docker_engine: Access is denied. error during connect: in the default daemon configuration on Windows, the docker client must be run with elevated privileges to connect: Get "http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.47/containers/json?all=1&filters=%7B%22id%22%3A%7B%22bc14446463225%22%3Atrue%7D%7D": open //./pipe/docker_engine: Access is denied. error during connect: in the default daemon configuration on Windows, the docker client must be run with elevated privileges to connect: Get "http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.47/volumes": open //./pipe/docker_engine: Access is denied.`
Expected behavior
Expected to run
Steps to reproduce
Run CICD action on self-hosted runner or Pull Request Build
Additional context (logs, screenshots, etc.)
It looks like your self-hosted runner is using nt authority\network service.
I don't think that will work - network service will not be able to run docker on the computer - it needs to be an admin user.
It looks like your self-hosted runner is using nt authority\network service. I don't think that will work - network service will not be able to run docker on the computer - it needs to be an admin user.
Thanks, for a time being I disabled my self-hosted runner. Strange since I chose default options from Github like I always do, when creating runner. Must be something Github has updated with their default options.