I have a nodejs docker container and I will access some windows file shares. The problem ist that I can't access the shares because of missing domain user rights / context. Is there a way to pass user credentials with the fs commands?
The workaround at the moment is to run nodejs server on windows machine. So the script gets the rights of the user who starts the server. I'am not happy with this solutions because I can't use docker.