Merge pull request #35967 from Microsoft/jjh/32838-pass-container-shutdown-error-back

Windows: Pass back system errors on container exit
Upstream-commit: 66e6beeb249948634e2815ef5cac97984d5c0d56
Component: engine
This commit is contained in:
Yong Tang
2018-02-22 19:12:10 -08:00
committed by GitHub
6 changed files with 43 additions and 7 deletions
+1 -1
View File
@@ -29,7 +29,7 @@ type State struct {
Dead bool
Pid int
ExitCodeValue int `json:"ExitCode"`
ErrorMsg string `json:"Error"` // contains last known error during container start or remove
ErrorMsg string `json:"Error"` // contains last known error during container start, stop, or remove
StartedAt time.Time
FinishedAt time.Time
Health *Health