Bad response from Docker engine
WORKAROUND
Start your docker as administrator (if it failed by service autostart or by shortcut otherwise). tl;dr
Expected behavior
Properly connecting to existing (previously installed) Moby machine
Actual behavior
Getting error when trying to connect or reset docker
Information
Diagnostic ID: F80B9291-0740-4640-830D-A9DE44281831/2017-08-22_00-21-57
- page URL if this is a docs issue or the name of a man page
- At first I run into issue when tried
docker versionafter update then have reinstalled it and started again but got the error listed below. - Platform: Windows 10 x64 PRO Version 1607, build 14393.1358
Click details for more info.
Version: 17.07.0-ce-rc3-win23 (13024)
Channel: edge
Sha1: ead952bbb0995d3c78b824f1769827786e08f341
Started on: 2017/08/21 23:28:35.261
Resources: C:\Program Files\Docker\Docker\Resources
OS: Windows 10 Pro
Edition: Professional
Id: 1607
Build: 14393
BuildLabName: 14393.1358.amd64fre.rs1_release.170602-2252
File: C:\Users\Alex\AppData\Local\Docker\log.txt
CommandLine: "C:\Program Files\Docker\Docker\Docker for Windows.exe"
in Docker.Backend.DockerDaemonChecker.Check(Func`1 isDaemonProcessStillRunning) в C:\gopath\src\github.com\docker\pinata\win\src\Docker.Backend\DockerDaemonChecker.cs:line 63
in Docker.Backend.ContainerEngine.Linux.DoStart(Settings settings, String daemonOptions) в C:\gopath\src\github.com\docker\pinata\win\src\Docker.Backend\ContainerEngine\Linux.cs:line 252
in Docker.Backend.ContainerEngine.Linux.Start(Settings settings, String daemonOptions) в C:\gopath\src\github.com\docker\pinata\win\src\Docker.Backend\ContainerEngine\Linux.cs:line 123
in Docker.Core.Pipe.NamedPipeServer.<>c__DisplayClass9_0.<Register>b__0(Object[] parameters) в C:\gopath\src\github.com\docker\pinata\win\src\Docker.Core\pipe\NamedPipeServer.cs:line 47
in Docker.Core.Pipe.NamedPipeServer.RunAction(String action, Object[] parameters) в C:\gopath\src\github.com\docker\pinata\win\src\Docker.Core\pipe\NamedPipeServer.cs:line 145
[23:53:01.972][NamedPipeServer][Info ] DownloadVpnKitLogs(C:\Users\Alex\AppData\Local\Temp\qfwytq5p.php\pcap.tar)
[23:53:01.973][VpnKit ][Warning] Unable to download logs: Pending time is expired.
[23:53:01.973][NamedPipeServer][Info ] DownloadVpnKitLogs done in 00:00:00.0010003.
[23:53:02.018][NamedPipeClient][Info ] Sending DownloadWinContainersDebugInfo(C:\Users\Alex\AppData\Local\Temp\qfwytq5p.php\win_containers)...
[23:53:02.016][NamedPipeServer][Info ] DownloadVmLogs(C:\Users\Alex\AppData\Local\Temp\qfwytq5p.php\mobyLogs.tar)
[23:53:02.016][PowerShell ][Info ] Run script '(Hyper-V\Get-VM MobyLinuxVM).Id.Guid'...
[23:53:02.024][CrashReport ][Warning] Unable to collect features settings: Could not find file 'C:\Users\Alex\AppData\Roaming\Docker\features-overrides.json'.
[23:53:02.025][NamedPipeServer][Info ] DownloadWinContainersDebugInfo(C:\Users\Alex\AppData\Local\Temp\qfwytq5p.php\win_containers)
[23:53:02.036][HyperV ][Warning] Unable to download logs:
The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: Hyper-V was unable to find a virtual machine with name "MobyLinuxVM".
[23:53:02.039][NamedPipeClient][Info ] Received response for DownloadVmLogs
[23:53:02.037][NamedPipeServer][Info ] DownloadVmLogs done in 00:00:00.0209978.
[23:53:13.131][NamedPipeClient][Info ] Received response for DownloadWinContainersDebugInfo
[23:53:13.131][NamedPipeServer][Info ] DownloadWinContainersDebugInfo done in 00:00:11.1054790.
[23:53:13.546][CrashReport ][Info ] Uploading diagnostics...
[23:53:14.997][NamedPipeClient][Info ] Sending GetDefaultVhdxPath()...
[23:53:14.998][NamedPipeServer][Info ] GetDefaultVhdxPath()
[23:53:15.000][NamedPipeClient][Info ] Received response for GetDefaultVhdxPath
[23:53:14.999][NamedPipeServer][Info ] GetDefaultVhdxPath done in 00:00:00.0014988.
[23:53:16.661][CrashReport ][Info ] Diagnostics successfully uploaded (F80B9291-0740-4640-830D-A9DE44281831/2017-08-21_23-53-01)
[23:53:16.661][GUI ][Info ] Sending Bugsnag report c4f27bdb-0a0b-49e3-8753-8ab695b7e860...
[23:53:18.274][GUI ][Info ] Bugsnag report c4f27bdb-0a0b-49e3-8753-8ab695b7e860 sent
[23:53:19.560][NamedPipeClient][Info ] Sending GetDefaultVhdxPath()...
[23:53:19.561][NamedPipeServer][Info ] GetDefaultVhdxPath()
[23:53:19.563][NamedPipeClient][Info ] Received response for GetDefaultVhdxPath
[23:53:19.563][NamedPipeServer][Info ] GetDefaultVhdxPath done in 00:00:00.0015004.
[23:53:21.683][FeedbackSettings][Info ] Open logs
Steps to reproduce the behavior
- Use Windows 10 with enabled and working Hyper-V machine
- Have running daemon (moby machine) with some images inside and latest Docker CE Edge client
- Update docker to 17.07.0-ce-rc3
- Start docker
- Try to connect/reset to the docker ....
- Get the error.
yes even i am getting the same error after the update.
I get this error even after restoring docker to default settings.
F80B9291-0740-4640-830D-A9DE44281831/2017-08-22_11-35-00
I have the same issue on Windows Server with Docker CE Edge, no possibility to downgrade to a previous version to check if it still works.
Well, I have reinstalled the edge version by stable one (direct download) and error disappeared but the version is still being the same:
IDK how did this happen.
UPD: Seems like stable installer installs the edge version anyway. I've tried to remove and install docker again and nothing changed. The about window shows the same edge version.
Only edge supports Windows Server, so installing stable is not an option.
Executing "Docker for Windows.exe" using "Run as administrator" gets it up and running again for me. To use docker, you have to then also run cmd or powershell as administrator.
I think the new installer should work for stable on WS2016 too. Can you try this? https://download.docker.com/win/stable/Docker%20for%20Windows%20Installer.exe
I sent a PR to the docs: https://github.com/docker/docker.github.io/pull/4380
@friism Oh thanks. Is that latest version? Currently I'm on the stable one and it works fine though I'm gonna give it a try by updating it to the latest version (17.07.0-ce-rc4-win25 (13059)) to look if it works. I'll report back on it later.
@friism Have installed latest update and get docker working if I start it as administrator. Pretty interesting. @chvndb Thanks!
I don't think starting docker as an administrator "solves" this issue. It's a workaround, and not a good one at that. I'd much prefer docker get the old behavior working again (autostart without any sort of manual intervention required).
@JohannesRudolph I agree. Closing this issue was a premature decision. I'll keep it open unless the problem is addressed.
@friism the stable release installer does not work for me on Windows Server 2016. It still gives me a warning to use Windows 10 and then exists.
@ebriney can you confirm whether the stable installer checks supports this?
Anyone here still having the problem?
I think the issue could be closed cause after 17.09.0-ce-rc3 docker starts smoothly without administrator privileges.
Can confirm, after upgrading to 17.09.0-ce-rc3, everything starts up fine. Cheers !
Nope, 17.09.0 still the same error ( Every Docker for windows update breaks docker (((
@stepansib do you have more details - please upload a diagnostic id too. Are you trying to install Docker for Windows on Windows Server 2016 version 1709?
Thank you, but forget. Already installing ubuntu right now. Tired of permanent docjer for windows issues... )) ((
2 окт. 2017 г. 7:19 PM пользователь "Michael Friis" < [email protected]> написал:
@stepansib https://github.com/stepansib do you have more details - please upload a diagnostic id too. Are you trying to install Docker for Windows on Windows Server 2016 version 1709?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/docker/for-win/issues/1025#issuecomment-333585368, or mute the thread https://github.com/notifications/unsubscribe-auth/ADyXchGq6SbNV8Sou7Tpn6Kq9O7FcBZRks5soQ0cgaJpZM4O92mq .
Hi there! I've just update my Docker for windows. I tried some windows restarts, reset to factory defaults, run as administrator but none of working :(
Error message:
Error response from daemon: Bad response from Docker engine
a következő helyen: Docker.Backend.DockerDaemonChecker.Check(Func`1 isDaemonProcessStillRunning) hely: C:\gopath\src\github.com\docker\pinata\win\src\Docker.Backend\DockerDaemonChecker.cs, sor: 63
a következő helyen: Docker.Backend.ContainerEngine.Linux.DoStart(Settings settings, String daemonOptions) hely: C:\gopath\src\github.com\docker\pinata\win\src\Docker.Backend\ContainerEngine\Linux.cs, sor: 252
a következő helyen: Docker.Backend.ContainerEngine.Linux.Start(Settings settings, String daemonOptions) hely: C:\gopath\src\github.com\docker\pinata\win\src\Docker.Backend\ContainerEngine\Linux.cs, sor: 123
a következő helyen: Docker.Core.Pipe.NamedPipeServer.<>c__DisplayClass9_0.
I have no "gopath" directory in C:\ root.
UPDATE: I clicked on "Switch to Windows containers.." then restart windows and Docker started. BUt starting my containers says: ERROR: client version 1.22 is too old. Minimum supported API version is 1.24, please upgrade your client to a newer version. Can somebody tell me what kind of client version talked about?
@friism I think I have the same problem after updating to the latest version. I'm running on Windows 10 pro and I've tried the 'run as admin', 'reset to factory conditions', etc. I have also tried stable (13529) and edge (13514). Same problem in either version.
Here is the diagnostic id: 67E35522-8620-4ED6-91DF-6C192F4179F9/2017-10-03_13-36-25
Error_ response from daemon: Bad response from Docker engine
at Docker.Backend.DockerDaemonChecker.Check(Func`1 isDaemonProcessStillRunning) in C:\gopath\src\github.com\docker\pinata\win\src\Docker.Backend\DockerDaemonChecker.cs:line 63
at Docker.Backend.ContainerEngine.Linux.DoStart(Settings settings, String daemonOptions) in C:\gopath\src\github.com\docker\pinata\win\src\Docker.Backend\ContainerEngine\Linux.cs:line 252
at Docker.Backend.ContainerEngine.Linux.Start(Settings settings, String daemonOptions) in C:\gopath\src\github.com\docker\pinata\win\src\Docker.Backend\ContainerEngine\Linux.cs:line 123
at Docker.Core.Pipe.NamedPipeServer.<>c__DisplayClass9_0.