-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using System.DirectoryServices on a Windows container with ASP.NET Core returns an error #1767
Comments
This looks like a potential limitation with Nano Server. My suggestion is to try this scenario using a Windows Server Core image. Checkout out our guidance for how to create your own .NET image based on Windows Server Core. |
Closing, There is an open issue for this System.DirectoryService limitation on Nano Server. |
Only to update this. Here is the Dockerfile
|
Steps to reproduce the issue
Code Example:
Expected behavior
Execute without error.
Actual behavior
Received an error:
Additional information (e.g. issue happens only occasionally)
It works if I execute
dotnet run
on my Windows 10 machine.Output of
docker version
Output of
docker info
The text was updated successfully, but these errors were encountered: