microsoft / microsoft/Windows-Containers

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

Open
#541 39 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

⚠️ ICM bug gMSA
Dominant language
PowerShell
Stars
551
Forks
76
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the linked gmsa-ccg-plugin project and the install-gmsaplugin.zip registration script, then reproduce the failure with the provided docker run command on Windows 11. Trace the RPC error and verify the fix by confirming that the Windows container authenticates with the remote domain and starts successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, powershell
Domain
devops, infrastructure
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.