-
Notifications
You must be signed in to change notification settings - Fork 67
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
Process Isolation ws2025 - container fails to shutdown gracefully #547
Comments
Thank you for creating an Issue. Please note that GitHub is not an official channel for Microsoft support requests. To create an official support request, please open a ticket here. Microsoft and the GitHub Community strive to provide a best effort in answering questions and supporting Issues on GitHub. |
After further investigation this seems not related to the base ltsc2025 image itself but having IIS installed on top of the image (something I missed during my initial testing). I previously had IIS installed on the host, but I tried uninstalling it and that did not fix the issue either. Test scenario: This is the collection of errors I am seeing in Event Viewer: failed to shutdown container, and subsequent terminate also failed [container=1e4c6f9513a2d75887edafbf3299a1a9a1f126c9a881ca718de8a7c73b3150e1 module=libcontainerd namespace=moby error=container 1e4c6f9513a2d75887edafbf3299a1a9a1f126c9a881ca718de8a7c73b3150e1 encountered an error during hcsshim::ComputeSystem::Wait: hcsshim: timeout waiting for notification] 1e4c6f9513a2d75887edafbf3299a1a9a1f126c9a881ca718de8a7c73b3150e1 cleanup: failed to delete container from containerd: failed to shutdown container: container 1e4c6f9513a2d75887edafbf3299a1a9a1f126c9a881ca718de8a7c73b3150e1 encountered an error during hcsshim::ComputeSystem::Wait: hcsshim: timeout waiting for notification: subsequent terminate failed container 1e4c6f9513a2d75887edafbf3299a1a9a1f126c9a881ca718de8a7c73b3150e1 encountered an error during hcsshim::ComputeSystem::Wait: hcsshim: timeout waiting for notification error unmounting container [error=hcsshim::UnprepareLayer failed in Win32: Do not detach the filter from the volume at this time. (0x801f0010) container=1e4c6f9513a2d75887edafbf3299a1a9a1f126c9a881ca718de8a7c73b3150e1] Additionally, I tried the same test scenario with ltsc2022 and it's working fine. |
@gabrielalb, thanks for the instructions. With the latest Windows 11, IIS image, and Docker, the container exits within a few seconds here. This is after making a request to the web server to confirm success. How long was the container running before being stopped? Is there any antimalware software installed or any other that might include filter drivers?
|
@johnstep Thank you for taking the time to look into this. After testing multiple times I can confirm that I cannot reproduce the issue anymore. Seems to have been solved by upgrading to Docker Desktop 4.37.0 (which has the same build numbers for the client and engine as you posted). Closing the issue. |
Hello,
I know it hasn't been available for long, but I was very eager to try out the new ltsc2025 image and to finally have the same kernel build between my Win11 machine and the container, and for that reason I tried process isolation. Using the official image as base and nothing else, I am able to start the container up with no issues at all, however the problem appears when I attempt to shut it down. It just takes around 10 minutes for it to stop, and even after that happens, it appears some resources remain locked as I ran into the error "object is being used by another process" thrown by docker desktop when I attempt to restart it. Completely rebooting the machine and recreating the container seems to be the only way to reset everything back to normal so far. Never had this issue with ltsc2022.
I am running both the host and the container with OS Build 10.0.26100.2314. Any thoughts or suggestions would be much appreciated.
The text was updated successfully, but these errors were encountered: