Can't start container Error microsoft/sample-python

Hi there,
I am new for Docker on Windows 10.
I try to use microsoft/sample-python on Docker for Windows 10 but it had some wrong and I didn’t kown how to do.
Why can’t I start container ? :cry:

C:\Users\claire> docker version Client: Version: 1.13.0 API version: 1.25 Go version: go1.7.3 Git commit: 49bf474 Built: Wed Jan 18 16:20:26 2017 OS/Arch: windows/amd64 Server: Version: 1.13.0 API version: 1.25 (minimum version 1.24) Go version: go1.7.3 Git commit: 49bf474 Built: Wed Jan 18 16:20:26 2017 OS/Arch: windows/amd64 Experimental: true

PS C:\Users\claire> docker info Containers: 3 Running: 0 Paused: 0 Stopped: 3 Images: 2 Server Version: 1.13.0 Storage Driver: windowsfilter Windows: Logging Driver: json-file Plugins: Volume: local Network: l2bridge l2tunnel nat null overlay transparent Swarm: inactive Default Isolation: hyperv Kernel Version: 10.0 14393 (14393.693.amd64fre.rs1_release.161220-1747) Operating System: Windows 10 Pro OSType: windows Architecture: x86_64 CPUs: 4 Total Memory: 7.482 GiB Name: claire-PC ID: GSVF:SSOK:FMOC:V7W5:W2EV:XH3N:SWZE:IT7G:DDSW:SJOZ:CIIA:MLNZ Docker Root Dir: C:\ProgramData\Docker Debug Mode (client): false Debug Mode (server): true File Descriptors: -1 Goroutines: 18 System Time: 2017-01-23T10:20:33.09659+08:00 EventsListeners: 0 Username: soymilk Registry: https://index.docker.io/v1/ Experimental: true Insecure Registries: 127.0.0.0/8 Live Restore Enabled: false

PS C:\Users\claire> docker run -i -t microsoft/sample-python:nanoserver-10.0.14300.1030 CMD C:\Program Files\Docker\Docker\Resources\bin\docker.exe: Error response from daemon: container 4ff60867b5f70d653da8725d23af4352417721a550286474ff1657e64e1b3c57 encountered an error during CreateContainer: failure in a Windows system call: The compute system exited unexpectedly. (0xc0370106) extra info: { "SystemType":"Container", "Name":"4ff60867b5f70d653da8725d23af4352417721a550286474ff1657e64e1b3c57", "Owner":"docker", "IsDummy":false, "IgnoreFlushesDuringBoot":true, "LayerFolderPath":"C:\\ProgramData\\Docker\\windowsfilter\\4ff60867b5f70d653da8725d23af4352417721a550286474ff1657e64e1b3c57", "Layers":[ {"ID":"00f3d511-e31c-5850-b40b-594cb4087f15", "Path":"C:\\ProgramData\\Docker\\windowsfilter\\c4b8fb8ffc21dfcdccea343d4c1a71f4fb030ac36233703819e53942d43a57d1"}, {"ID":"09168fb6-7957-5827-b365-307c4b42ec33", "Path":"C:\\ProgramData\\Docker\\windowsfilter\\f6de7c332bd2d2a34aaeea9660b1f3c0da5a70188ed9b188a3f9889ec77f5ca4"}, {"ID":"88fdef54-6bcc-59e1-84eb-c633c13088c2", "Path":"C:\\ProgramData\\Docker\\windowsfilter\\ff2f2f8df2a4bf43ed91774737b84fa695e926277cd681684bab1185aa2a8919"}], "HostName":"4ff60867b5f7","MappedDirectories":[],"SandboxPath":"C:\\ProgramData\\Docker\\windowsfilter", "HvPartition":true,"EndpointList":["2797ae11-216c-47db-9c21-85811567ce8b"], "HvRuntime":{"ImagePath":"C:\\ProgramData\\Docker\\windowsfilter\\ff2f2f8df2a4bf43ed91774737b84fa695e926277cd681684bab1185aa2a8919\\UtilityVM"}, "Servicing":false,"AllowUnqualifiedDNSQuery":true}.

PS C:\Users\claire> docker ps -a CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 4ff60867b5f7 microsoft/sample-python:nanoserver-10.0.14300.1030 "CMD" 19 minutes ago Created hopeful_tesla

PS C:\Users\claire> docker start hopeful_tesla Error response from daemon: container 4ff60867b5f70d653da8725d23af4352417721a550286474ff1657e64e1b3c57 encountered an error during CreateContainer: failure in a Windows system call: The compute sys tem exited unexpectedly. (0xc0370106) extra info: {"SystemType":"Container","Name":"4ff60867b5f70d653da8725d23af4352417721a550286474ff1657e64e1b3c57","Owner":"docker","IsDummy":false,"IgnoreFlushes DuringBoot":true,"LayerFolderPath":"C:\\ProgramData\\Docker\\windowsfilter\\4ff60867b5f70d653da8725d23af4352417721a550286474ff1657e64e1b3c57","Layers":[{"ID":"00f3d511-e31c-5850-b40b-594cb4087f15", "Path":"C:\\ProgramData\\Docker\\windowsfilter\\c4b8fb8ffc21dfcdccea343d4c1a71f4fb030ac36233703819e53942d43a57d1"},{"ID":"09168fb6-7957-5827-b365-307c4b42ec33","Path":"C:\\ProgramData\\Docker\\wind owsfilter\\f6de7c332bd2d2a34aaeea9660b1f3c0da5a70188ed9b188a3f9889ec77f5ca4"},{"ID":"88fdef54-6bcc-59e1-84eb-c633c13088c2","Path":"C:\\ProgramData\\Docker\\windowsfilter\\ff2f2f8df2a4bf43ed91774737 b84fa695e926277cd681684bab1185aa2a8919"}],"HostName":"4ff60867b5f7","MappedDirectories":[],"SandboxPath":"C:\\ProgramData\\Docker\\windowsfilter","HvPartition":true,"EndpointList":["e7e48dba-0593-4 e3a-9774-e95b20cb56db"],"HvRuntime":{"ImagePath":"C:\\ProgramData\\Docker\\windowsfilter\\ff2f2f8df2a4bf43ed91774737b84fa695e926277cd681684bab1185aa2a8919\\UtilityVM"},"Servicing":false,"AllowUnqua lifiedDNSQuery":true} Error: failed to start containers: hopeful_tesla

I have similar issue: The compute system exited unexpectedly.

Where you able to resolve it ?

Make sure your work is on windows container.

I reinstall the Docker and the problem is resolve.

You also can try to pull other windows images.

Re-installation didn’t help in my case, but I found out that if you have too many layers container might fail. I end up refactoring Dockerfile for my images to reduce amount of instructions and that worked.

1 Like