Uninstall the docker from the server and installed docker desktop on windows server and then switched it windows container mode solve the issue.
I am still not sure was was the issue but for now it is resolved.
Attching gMSA credentials to windows container failed.
We generated a .json file using New-CredentialSpec command.
when we try to attach it to a windows container it gives error "docker: Error response from daemon: security option not supported: CredentialSpecs." Google for this error but did not find any relevant information to resolve this. Some Info About the env:
PS C:\Users> docker images REPOSITORY TAG IMAGE ID CREATED SIZE
gitlab/gitlab-runner-helper x86_64-2ebc4dc4-servercore1809 4049173eb4be 2 days ago 5.8GB
mcr.microsoft.com/windows/servercore ltsc2019 31902e4b25a6 2 weeks ago 5.21GB
mcr.microsoft.com/windows/servercore 1809 623c6707de60 2 weeks ago 5.21GB
mcr.microsoft.com/windows/nanoserver 1809 f524b7260f3c 3 weeks ago 252MB PS
C:\Users> docker --version Docker version 19.03.14, build e820475
-
Dinesh Sharma 76 Reputation points Microsoft Employee
2021-02-26T08:04:29.577+00:00