Error starting Windows docker container with managed service account

I’m trying to test out docker containers running with a domain credential and I’m following these instructions from Microsoft Docs. I have created the Group MSA, which I’m pretty sure I’ve done correctly as I can run other services on my local computer using it.

I’m testing on a Windows 10 PC, running hyper-v docker containers.

  • How to properly configure the DNS configuration of the VirtualBox to resolve docker containers hostnames within the local network?
  • Why does different container of same elasticsearch image on docker exits out?
  • Issue when I try to create a docker image [duplicate]
  • How to have tabcompletion for docker cp?
  • Docker container cannot access internet
  • Docker: Jenkins container can't access internet on QNAP device
  • I have built an image called sqltest. When I run the following, the container does evey as expected:

    docker run -it sqltest
    

    I tried creating active directory credentials using this command:

    New-CredentialSpec -Name developerpcsql -AccountName developerpcsql
    

    Calling Get-CredentialSpec confirms that the json file is created as expected, and it looks right when I open the file.

    To run the container, I’m using:

    docker run -it --security-opt "credentialspec=file://developerpcsql.json" sqltest
    

    When I do that, it takes about 30 seconds and then I get the following error:

    Error response from daemon: container d97082fab98c0205c0072b0a8b79fb7835c8e90828498428b976e378762cc412 encountered an error during Start: failure in a Windows system call: The operation timed out because a response was not received from the Virtual Machine hosting the Container. (0xc0370109).

    To confirm it’s not my container I’ve also tried using the standard microsoft/servercore container and get the same error.

    Any ideas on what I’m missing?

  • Unable to install windowsServerCore Container Image
  • Can't change PHP variables in Joomla docker official container
  • DB2 docker Shared memory segments cannot be allocated
  • Docker - Volume not mounting latest files in container
  • Access PostgreSQL running in Docker container in Vagrant
  • Does Docker update contents of volume when mounted if changes are made in Dockerfile?
  • Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.