We need to have access to a shared resource in the active directory (file share) from a docker container which is running a dotnetcore api. The Api is started with (dotnet api.dll).
The current user in the docker contrainer is ContainerAdministrator.
We are using Windows 2016 server
Finally made it work. Added a powershell script that run "net use" first and the dotnet command after.
Use cmd in the docker file to start the ps script.
Thanks for the answers
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With