Open jmeubank opened 4 years ago
The difference is between running with and without --rm
; the command fails with the same error message when running without --rm
. This is true even for simple commands like echo. Same error message in both CMD and bash/mintty.
Just had to battle this issue too.
The issue is present in Docker Desktop CE for windows 2.2.0.4 & 2.2.0.5
A downgrade to 2.2.0.3 resolved the issue.
Windows Server 2019 Standard Microsoft Windows [Version 10.0.17763.1039]
Just tested on my laptop, Issue present in Docker 2.2.3.0 Windows 10 version 2004 19041 (WSL2 & windows containers)
This is the same issue as this one : https://github.com/microsoft/hcsshim/issues/813
Issue happens also with Windows Server Core 2004, Docker engine 19.03.12.
Can't find any other evidence of this in the wild beyond the quote below. As of upgrading to docker-desktop-ce 2.2.0.4 (43472) I see this error on a RUN command with docker build:
The same command completes successfully on the base image in
docker run --rm -it
, and the shutdown appears normal there.Docker Engine: 19.03.8 LCOW enabled Windows 10 Pro 64-bit 1909 build 18363.720
This is for
saltstack/salt:3000
which is based on alpine 3.11. This was working in LCOW before, only thing that's changed is a Docker Desktop upgrade.Originally posted by @Iristyle in https://github.com/microsoft/hcsshim/pull/737#issuecomment-566335575:
I'm not sure if this PR is responsible for a new error I'm seeing or not -- but something in between nightly docker 2019-09-25 and nightly docker 2019-12-04 is causing errors on container exit under LCOW with a
hcsshim::System::waitBackground
message like this now:This is the last change to roll in that modified
system.go
so I figured I'd start here @kevpar