-
Notifications
You must be signed in to change notification settings - Fork 18.6k
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
Docker stop hangs forever on sql image on Windows VM host #39622
Comments
I'm experiencing the exact same issue with another windows container. |
i am having the same problem |
I presume it shows up with |
nope. hcsdiag shows nothing. i guess it might be related to #39864 |
Hey I Have the same problem running on Windows server 2019 standard, as for now it happens when server is shut down unclean (like power loss or hard reset). |
using the image mcr.microsoft.com/mssql/server:2017-latest on Windows Server Version 10.0.18362.239,
Docker stop on the container instance hangs forever, other commands like docker exec and docker container top report "no such container" even though "docker logs" and "docker ps" seem to work fine.
Steps to reproduce the issue:
docker run -e "ACCEPT_EULA=1" -e "SA_PASSWORD=somepassword" -P -d --rm mcr.microsoft.com/mssql/server:2017-latest
Do some work with the sql instance. After a few days it will stop responding, it appears it decides to stop for reasons I can't discern. docker logs shows this:
2019-07-26 15:47:32.33 spid6s Always On: The availability replica manager is going offline because SQL Server is shutting down. This is an informational message only. No user action is required. 2019-07-26 15:47:32.36 spid6s SQL Server is terminating in response to a 'stop' request from Service Control Manager. This is an informational message only. No user action is required. 2019-07-26 15:47:33.38 spid23s Service Broker manager has shut down. 2019-07-26 15:47:34.54 spid6s .NET Framework runtime has been stopped. 2019-07-26 15:47:35.52 spid6s SQL Trace was stopped due to server shutdown. Trace ID = '1'. This is an informational message only; no user action is required.
Output of
docker version
:Output of
docker info
:This is an Azure VM
The text was updated successfully, but these errors were encountered: