Gmsa on Windows host does not work

There is a problem with windows hosts and managed service accounts. microsoft said


that you should use gmsa for domain-joined containers, but

  1. there is no option to provide
    security_opt:
    • "credentialspec=file:./credentialspecs/gmsaDocker.json"
      in UI
  2. If I try to create docker compose yml file and give it to rancher-server, it does not work. containers can not start.