Run windows service within docker with external account

Hi,
This is the situation.

We have EKS, Local VMs and local NFS share (\nfs-share). They are connected with Transit gateway. Local machines has an account “lab\test” (not sure if it is in AD or local), which has full access to NFS. What I need is to have possibility to write data from EKS into NFS through Local VMs. it is possible, when I’m manually setting credentials in EKS pod, everything works as expected. But when I’m running a service in EKS which should write data, I cannot assign for it credentials, because it is running in a docker container.

Dockerfile is based on mcr.microsoft.com/dotnet/runtime:8.0-windowsservercore-ltsc2019 image. I need to have some powershell commands which will create service, run it as “lab\test” account, somehow authenticate into NFS and write there data.

THis is how I’m creating service:
New-Service -Name ‘SERVICEt’ -BinaryPathName ‘C:\app\SERVICE.exe’ -DisplayName ‘SERVICE’ -StartupType Automatic -Credential $Credential

WHen I starting this service it shows “Access Denied” while trying to write data.

What can be used here?