Windows-Containers icon indicating copy to clipboard operation
Windows-Containers copied to clipboard

CCG Custom Plugin Returning Error (The remote procedure call failed.)

Open srinivas-kujala opened this issue 4 months ago • 1 comments

Describe the bug Setting up custom ccg plugin on my local machine to run windows containers as non-domain joined failing with RPC error.

To Reproduce Steps to reproduce the behavior:

  1. Downloaded gmsa-ccg-plugin project
  2. Build solution in release mode.
  3. Register plugin using following script install-gmsaplugin.zip
  4. Run docker command docker run --security-opt "credentialspec=file://servereps_gmsaplugin.json" --hostname webapp01 -it mcr.microsoft.com/windows/server:ltsc2022 powershell
  5. Output docker: Error response from daemon: hcs::CreateComputeSystem f8a7b59bca075e1afea0a808f725bf1468f8ad163d1889bc98c1dd3775b8302f: winapi error #3489792023.

Expected behavior

  • Windows container should authenticate with remote domain and start up.

Configuration:

  • Edition: Windows 11
  • Base Image being used: mcr.microsoft.com/windows/servercore:ltsc2022, mcr.microsoft.com/windows/server:ltsc2022
  • Container engine: docker
  • Container Engine version 27.2.0

Additional context image

srinivas-kujala avatar Sep 29 '24 17:09 srinivas-kujala