Docker never moves out of "Starting...." status
Expected behavior
Docker to start and Restart-Always containers to run.
Actual behavior
Docker never moves from the "Starting..." status. 'docker ps' command fails.
Information
- Full output of the diagnostics from "Diagnose & Feedback" in the menu Docker for Mac: version: 1.13.0-rc3-beta32 (9cf974f9e) OS X: version 10.10.5 (build: 14F2009) logs: /tmp/D38D290F-6C5C-4B85-A50A-7B0323B83C60/20161209-110527.tar.gz failure: docker ps failed: (Failure "docker ps: timeout after 10.00s") [OK] vmnetd [OK] dns [OK] driver.amd64-linux [OK] virtualization VT-X [OK] app [OK] moby [OK] system [OK] moby-syslog [OK] db [OK] env [OK] virtualization kern.hv_support [OK] slirp [OK] osxfs [OK] moby-console [OK] logs [ERROR] docker-cli docker ps failed [OK] menubar [OK] disk Failure: Could not upload diagnostic data to remote server (docker-diagnose exit code is 1)
Process Table
$ ps -ef | grep ocker 0 82 1 0 10:58AM ?? 0:00.01 /Library/PrivilegedHelperTools/com.docker.vmnetd 5532 1616 1 0 10:59AM ?? 0:15.77 /Applications/Docker.app/Contents/MacOS/Docker 5532 1763 1616 0 10:59AM ?? 0:00.04 /Applications/Docker.app/Contents/MacOS/com.docker.osx.hyperkit.linux -watchdog fd:0 5532 1766 1763 0 10:59AM ?? 0:00.29 /Applications/Docker.app/Contents/MacOS/com.docker.osx.hyperkit.linux -watchdog fd:0 5532 1771 1763 0 10:59AM ?? 0:00.34 com.docker.db --url fd://3 --git /Users/joallen/Library/Containers/com.docker.docker/Data/database 5532 1772 1763 0 10:59AM ?? 0:00.02 com.docker.osxfs --address fd:3 --connect /Users/joallen/Library/Containers/com.docker.docker/Data/@connect --control fd:4 --volume-control fd:5 --database /Users/joallen/Library/Containers/com.docker.docker/Data/s40 5532 1773 1763 0 10:59AM ?? 0:00.04 com.docker.slirp --db /Users/joallen/Library/Containers/com.docker.docker/Data/s40 --ethernet fd:3 --port fd:4 --introspection fd:5 --diagnostics fd:6 --vsock-path /Users/joallen/Library/Containers/com.docker.docker/Data/@connect 5532 1775 1763 0 10:59AM ?? 0:00.02 com.docker.osx.hyperkit.linux 5532 1776 1763 0 10:59AM ?? 0:00.85 com.docker.driver.amd64-linux -db /Users/joallen/Library/Containers/com.docker.docker/Data/s40 -osxfs-volume /Users/joallen/Library/Containers/com.docker.docker/Data/s30 -slirp /Users/joallen/Library/Containers/com.docker.docker/Data/s50 -vmnet /var/tmp/com.docker.vmnetd.socket -port /Users/joallen/Library/Containers/com.docker.docker/Data/s51 -vsock /Users/joallen/Library/Containers/com.docker.docker/Data -docker /Users/joallen/Library/Containers/com.docker.docker/Data/s60 -addr fd:3 -debug 5532 1822 1775 0 10:59AM ?? 0:00.01 /Applications/Docker.app/Contents/MacOS/com.docker.osx.hyperkit.linux 5532 1834 1776 0 10:59AM ?? 0:00.30 /Applications/Docker.app/Contents/MacOS/com.docker.driver.amd64-linux -db /Users/joallen/Library/Containers/com.docker.docker/Data/s40 -osxfs-volume /Users/joallen/Library/Containers/com.docker.docker/Data/s30 -slirp /Users/joallen/Library/Containers/com.docker.docker/Data/s50 -vmnet /var/tmp/com.docker.vmnetd.socket -port /Users/joallen/Library/Containers/com.docker.docker/Data/s51 -vsock /Users/joallen/Library/Containers/com.docker.docker/Data -docker /Users/joallen/Library/Containers/com.docker.docker/Data/s60 -addr fd:3 -debug 5532 1849 1776 0 10:59AM ?? 0:05.51 /Applications/Docker.app/Contents/MacOS/com.docker.hyperkit -A -m 2G -c 4 -u -s 0:0,hostbridge -s 31,lpc -s 2:0,virtio-vpnkit,uuid=dd1f76d6-dc43-44a5-9e88-48f650b3c115,path=/Users/joallen/Library/Containers/com.docker.docker/Data/s50,macfile=/Users/joallen/Library/Containers/com.docker.docker/Data/com.docker.driver.amd64-linux/mac.0 -s 3,ahci-hd,file:///Users/joallen/Library/Containers/com.docker.docker/Data/com.docker.driver.amd64-linux/Docker.qcow2?sync=1&buffered=1,format=qcow,qcow-config=discard=true;compact_after_unmaps=2097152 -s 4,virtio-9p,path=/Users/joallen/Library/Containers/com.docker.docker/Data/s40,tag=db -s 5,virtio-rnd -s 6,virtio-9p,path=/Users/joallen/Library/Containers/com.docker.docker/Data/s51,tag=port -s 7,virtio-sock,guest_cid=3,path=/Users/joallen/Library/Containers/com.docker.docker/Data,guest_forwards=2376;1525 -l com1,autopty=/Users/joallen/Library/Containers/com.docker.docker/Data/com.docker.driver.amd64-linux/tty,log=/Users/joallen/Library/Containers/com.docker.docker/Data/com.docker.driver.amd64-linux/console-ring -f kexec,/Applications/Docker.app/Contents/Resources/moby/vmlinuz64,/Applications/Docker.app/Contents/Resources/moby/initrd.img,earlyprintk=serial console=ttyS0 com.docker.driver="com.docker.driver.amd64-linux", com.docker.database="com.docker.driver.amd64-linux" ntp=gateway mobyplatform=mac -F /Users/joallen/Library/Containers/com.docker.docker/Data/com.docker.driver.amd64-linux/hypervisor.pid 5532 7796 7467 0 11:08AM ttys005 0:00.00 grep ocker
System Diag Report com.docker.hyperkit
Date/Time: 2016-12-08 11:36:30 -0800 OS Version: 10.10.5 (Build 14F2009) Architecture: x86_64 Report Version: 19
Command: com.docker.hyperkit Path: /Applications/Docker.app/Contents/MacOS/com.docker.hyperkit Version: ??? (???) Parent: com.docker.driver.amd64-linux [75732] Responsible: Docker [75709] PID: 75743
Event: wakeups (microstackshots only) Wakeups: 263 wakeups per second for 172 seconds Duration: 172.00s Steps: 169
Hardware model: MacBookPro11,3 Active cpus: 8
Fan speed: 2160 rpm
Powerstats for: com.docker.hyper [75743]
Start time: 2016-12-08 11:36:33 -0800
End time: 2016-12-08 11:39:07 -0800
Parent: com.docker.drive
Responsible: Docker
Microstackshots: 21 samples (12%)
Primary state: 18 samples Non-Frontmost App, Kernel mode, Thread QoS Legacy
User Activity: 0 samples Idle, 21 samples Active
Power Source: 21 samples on Battery, 0 samples on AC
21 thread_start + 13 (libsystem_pthread.dylib) [0x7fff8b9513ed]
21 _pthread_start + 176 (libsystem_pthread.dylib) [0x7fff8b953fd7]
21 _pthread_body + 131 (libsystem_pthread.dylib) [0x7fff8b95405a]
11 vcpu_thread + 1215 (com.docker.hyperkit) [0x10b0da8ee]
7 xh_vm_run + 4707 (com.docker.hyperkit) [0x10b0bf7c5]
7 vmx_run + 364 (com.docker.hyperkit) [0x10b0b45e7]
7 hv_vcpu_run + 16 (Hypervisor) [0x10b8000a9]
1
Binary Images:
0x10ae16000 - 0x10b189ff7 com.docker.hyperkit (0) <2F10C63B-3CFC-30EC-99C6-7B4BA8AE7B1C> /Applications/Docker.app/Contents/MacOS/com.docker.hyperkit
0x10b7ff000 - 0x10b803fff com.apple.Hypervisor 1.0 (1) <7960B1D3-1EC1-379D-8CF4-F478BA67CD31> /System/Library/Frameworks/Hypervisor.framework/Versions/A/Hypervisor
0x7fff8b950000 - 0x7fff8b959fff libsystem_pthread.dylib (105.40.1)
Powerstats for: node
Start time: 2016-12-08 11:36:34 -0800
End time: 2016-12-08 11:38:23 -0800
Microstackshots: 47 samples (27%)
Primary state: 43 samples Non-Frontmost App, User mode, Thread QoS Legacy
User Activity: 0 samples Idle, 47 samples Active
Power Source: 47 samples on Battery, 0 samples on AC
47 start + 52 (node) [0x100000cb4]
45 node::Start(int, char**) + 339 (node) [0x100516aa6]
45 uv_run + 530 (node) [0x10061ed85]
45 uv__run_timers + 38 (node) [0x100628575]
45 node::TimerWrap::OnTimeout(uv_timer_s*) + 128 (node) [0x10053e9ba]
45 node::AsyncWrap::MakeCallback(v8::Handlev8::Function, int, v8::Handlev8::Value) + 778 (node) [0x100508c88]
45 v8::Function::Call(v8::Handlev8::Value, int, v8::Handlev8::Value) + 207 (node) [0x100128f1f]
45 v8::internal::Invoke(bool, v8::internal::Handlev8::internal::JSFunction, v8::internal::Handlev8::internal::Object, int, v8::internal::Handlev8::internal::Object) + 431 (node) [0x1002143cf]
45 ??? [0x34d9f711de90]
45 ??? [0x34d9f711ef40]
45 ??? [0x34d9f73f55a9]
45 ??? [0x34d9f741314d]
45 ??? [0x34d9f7413467]
45 ??? [0x34d9f741358a]
15 fmod + 22 (libsystem_m.dylib) [0x7fff86091046]
2
Binary Images:
0x100000000 - 0x100b1afdf node <6AA5D726-96FB-300F-AFAE-9A72E5337559> /usr/local/bin/node
0x7fff86090000 - 0x7fff860c0fff libsystem_m.dylib (3086.1) <1E12AB45-6D96-36D0-A226-F24D9FB0D9D6> /usr/lib/system/libsystem_m.dylib
0x7fff8f35d000 - 0x7fff8f37afff libsystem_kernel.dylib (2782.50.9)
Powerstats for: WindowServer
Start time: 2016-12-08 11:36:40 -0800
End time: 2016-12-08 11:39:04 -0800
Microstackshots: 20 samples (11%)
Primary state: 13 samples Non-Frontmost App, Kernel mode, Thread QoS Unspecified
User Activity: 0 samples Idle, 20 samples Active
Power Source: 20 samples on Battery, 0 samples on AC
20 start + 1 (libdyld.dylib) [0x7fff906ad5c9]
20 ??? (WindowServer + 3966) [0x104a1df7e]
20 CGXServer + 839 (CoreGraphics) [0x7fff8971c9b6]
18 CGXRunOneServicesPass + 159 (CoreGraphics) [0x7fff8971c167]
18 run_timer_pass + 405 (CoreGraphics) [0x7fff899fd62b]
18 update_display_callback + 160 (CoreGraphics) [0x7fff897b6ba1]
14 CGXUpdateDisplay + 468 (CoreGraphics) [0x7fff897b6e24]
14 prepare_CoreAnimation_update_state + 368 (CoreGraphics) [0x7fff897baf6f]
9 CGXBeginSurfaceLayerUpdate + 8152 (CoreGraphics) [0x7fff898f19e5]
5 WSBackingStoreSetPurgeable + 40 (CoreGraphics) [0x7fff8978fa5b]
5 IOAccelSurfaceControl + 74 (IOKit) [0x7fff92001329]
5 IOConnectCallScalarMethod + 111 (IOKit) [0x7fff91ff6c52]
4 io_connect_method + 381 (IOKit) [0x7fff9205316c]
4 mach_msg_trap + 10 (libsystem_kernel.dylib) [0x7fff8f36e4de]
1 io_connect_method + 176 (IOKit) [0x7fff9205309f]
1 _platform_memmove$VARIANT$Unknown + 173 (libsystem_platform.dylib) [0x7fff8b9f104d]
1
Binary Images:
0x104a1d000 - 0x104a1dfff WindowServer (1)
Powerstats for: launchservicesd
Start time: 2016-12-08 11:36:32 -0800
End time: 2016-12-08 11:39:03 -0800
Microstackshots: 11 samples (6%)
Primary state: 8 samples Non-Frontmost App, Kernel mode, Thread QoS Legacy
User Activity: 0 samples Idle, 11 samples Active
Power Source: 11 samples on Battery, 0 samples on AC
4 start_wqthread + 13 (libsystem_pthread.dylib) [0x7fff8b9513dd]
4 _pthread_wqthread + 729 (libsystem_pthread.dylib) [0x7fff8b953a9d]
4 _dispatch_worker_thread3 + 91 (libdispatch.dylib) [0x7fff901eea1c]
2 _dispatch_root_queue_drain + 463 (libdispatch.dylib) [0x7fff901eebef]
2 _dispatch_queue_invoke + 202 (libdispatch.dylib) [0x7fff901ef030]
1 _dispatch_queue_drain + 571 (libdispatch.dylib) [0x7fff901ef3bc]
1 _dispatch_mach_invoke + 232 (libdispatch.dylib) [0x7fff901f1540]
1 _dispatch_queue_drain + 571 (libdispatch.dylib) [0x7fff901ef3bc]
1 _dispatch_mach_msg_invoke + 445 (libdispatch.dylib) [0x7fff901f2c9f]
1 _dispatch_client_callout4 + 9 (libdispatch.dylib) [0x7fff901f1ba8]
1 _xpc_connection_mach_event + 1878 (libxpc.dylib) [0x7fff8357b87c]
1 _xpc_connection_unpack_message + 78 (libxpc.dylib) [0x7fff8357bdcf]
1 _xpc_serializer_create_from_wire + 27 (libxpc.dylib) [0x7fff8357beda]
1 _os_object_alloc_realized + 38 (libdispatch.dylib) [0x7fff901ebce1]
1 class_createInstance + 133 (libobjc.A.dylib) [0x7fff82f15c12]
1 calloc + 49 (libsystem_malloc.dylib) [0x7fff8d1f2546]
1 malloc_zone_calloc + 78 (libsystem_malloc.dylib) [0x7fff8d1f1b90]
1 szone_malloc_should_clear + 317 (libsystem_malloc.dylib) [0x7fff8d1ee7e4]
1 tiny_malloc_from_free_list + 32 (libsystem_malloc.dylib) [0x7fff8d1ef848]
1
Binary Images:
0x10d107000 - 0x10d111ff7 launchservicesd (644.56) <265B08DC-F7C9-3AB7-9B84-D941D8C4C9C3> /System/Library/CoreServices/launchservicesd
0x7fff82f0f000 - 0x7fff8310946f libobjc.A.dylib (647) <759E155D-BC42-3D4E-869B-6F57D477177C> /usr/lib/libobjc.A.dylib
0x7fff83575000 - 0x7fff8359dfff libxpc.dylib (559.40.1) <5C829202-962E-3744-8B50-00D38CC88E84> /usr/lib/system/libxpc.dylib
0x7fff8b950000 - 0x7fff8b959fff libsystem_pthread.dylib (105.40.1)
Powerstats for: Microsoft Word
Start time: 2016-12-08 11:36:51 -0800
End time: 2016-12-08 11:39:20 -0800
Microstackshots: 10 samples (5%)
Primary state: 7 samples Non-Frontmost App, Kernel mode, Thread QoS Legacy
User Activity: 0 samples Idle, 10 samples Active
Power Source: 10 samples on Battery, 0 samples on AC
10 ??? (Microsoft Word + 10134) [0xe796]
10 ??? (Microsoft Word + 10213) [0xe7e5]
10 _WlmMain + 97 (WLMKernel) [0x4d2adc5]
10 ??? (Microsoft Word + 13425) [0xf471]
10 McpRunApplicationEventLoop + 148 (MicrosoftComponentPlugin) [0x22762cc]
10 ReceiveNextEvent + 90 (HIToolbox) [0x943e1178]
10 ReceiveNextEventCommon + 494 (HIToolbox) [0x94233631]
10 RunCurrentEventLoopInMode + 262 (HIToolbox) [0x942338f8]
10 CFRunLoopRunInMode + 123 (CoreFoundation) [0x98b6c90b]
10 CFRunLoopRunSpecific + 390 (CoreFoundation) [0x98b6caa6]
4 __CFRunLoopRun + 2081 (CoreFoundation) [0x98b6d531]
4 __CFRunLoopDoTimers + 351 (CoreFoundation) [0x98c3154f]
3 __CFRunLoopDoTimer + 2343 (CoreFoundation) [0x98bb5eb7]
2 __CFRepositionTimerInMode + 125 (CoreFoundation) [0x98b74f2d]
2 mk_timer_arm + 10 (libsystem_kernel.dylib) [0x92914b12]
1 __CFRepositionTimerInMode + 93 (CoreFoundation) [0x98b74f0d]
1 CFArrayRemoveValueAtIndex + 140 (CoreFoundation) [0x98b6092c]
1 _CFArrayReplaceValues + 397 (CoreFoundation) [0x98b3156d]
1 __CFArrayReleaseValues + 151 (CoreFoundation) [0x98b555e7]
1
Binary Images:
0xc000 - 0x1d89fe3 com.microsoft.Word 14.6.9 (14.6.9)
Powerstats for: parentalcontrols Start time: 2016-12-08 11:37:14 -0800 End time: 2016-12-08 11:39:09 -0800 Microstackshots: 9 samples (5%) Primary state: 8 samples Non-Frontmost App, Kernel mode, Thread QoS Legacy User Activity: 0 samples Idle, 9 samples Active Power Source: 9 samples on Battery, 0 samples on AC 5 __pthread_set_self + 16 (libsystem_pthread.dylib) [0x7fff8b9513d0] 3 _dispatch_mgr_thread + 52 (libdispatch.dylib) [0x7fff901f026e] 3 kevent64 + 10 (libsystem_kernel.dylib) [0x7fff8f374232] 1 start_wqthread + 13 (libsystem_pthread.dylib) [0x7fff8b9513dd] 1 _pthread_wqthread + 729 (libsystem_pthread.dylib) [0x7fff8b953a9d] 1 _dispatch_worker_thread3 + 91 (libdispatch.dylib) [0x7fff901eea1c] 1 _dispatch_root_queue_drain + 935 (libdispatch.dylib) [0x7fff901eedc7] 1 _dispatch_client_callout + 8 (libdispatch.dylib) [0x7fff901ebe73] 1 _dispatch_call_block_and_release + 12 (libdispatch.dylib) [0x7fff901ef700] 1 ___ZN22LSNotificationReceiver29receiveNotificationFromServerEP17_xpc_connection_sPv_block_invoke + 93 (LaunchServices) [0x7fff8854b74a] 1 ___LSScheduleNotificationFunction_block_invoke + 202 (LaunchServices) [0x7fff8854b8ad] 1 CFRunLoopWakeUp + 166 (CoreFoundation) [0x7fff8534e616] 1 <User mode, Thread QoS User Initiated>
Binary Images:
0x108979000 - 0x1089a8ff7 parentalcontrolsd (68) <0B143096-C7E6-35DF-BB74-6FE5B8CF1FA3> /System/Library/PrivateFrameworks/FamilyControls.framework/Resources/parentalcontrolsd
0x7fff852f0000 - 0x7fff85688ff7 com.apple.CoreFoundation 6.9 (1153.18) <5C0892B8-9691-341F-9279-CA3A74D59AA0> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
0x7fff8853a000 - 0x7fff8865eff7 com.apple.LaunchServices 644.56 (644.56) <20AABB1C-9319-3E4D-A024-51B0DD5FCD3B> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/LaunchServices
0x7fff8b950000 - 0x7fff8b959fff libsystem_pthread.dylib (105.40.1)
- A reproducible case if this is a bug, Dockerfiles FTW
- Page URL if this is a docs issue or the name of a man page
Steps to reproduce the behavior
Upgrade?? It just started after the last upgrade.
- ...
- ...
Same error here with OS X 10.11.6 (15G31)
Same problem (including the errors in diagnose output) with Docker for Mac 1.12.3 (stable) and OS X 10.11.6 (15G1108).
Rolling back to 1.12.1 (stable) allowed me to successfully start Docker again.
Please consider offering previous versions for download instead of just the latest. I'd be out of luck if I had deleted the older DMG from my Downloads folder!
Update: Installed latest Beta.....issue looks worse now:
Docker for Mac: version: 1.13.0-rc3-beta33.1 (e35ff41ca) OS X: version 10.10.5 (build: 14F2109) logs: /tmp/D38D290F-6C5C-4B85-A50A-7B0323B83C60/20161218-111624.tar.gz failure: com.docker.driver.amd64-linux -db is not running [OK] vmnetd [OK] dns [ERROR] driver.amd64-linux com.docker.driver.amd64-linux -db is not running [OK] virtualization VT-X [OK] app [ERROR] moby /Users/joallen/Library/Containers/com.docker.docker/Data/com.docker.driver.amd64-linux/console-ring does not exist [OK] system [OK] moby-syslog [OK] db [OK] env [OK] virtualization kern.hv_support [OK] slirp [OK] osxfs [OK] moby-console [OK] logs [ERROR] docker-cli docker ps failed [OK] menubar [OK] disk Failure: Could not upload diagnostic data to remote server (docker-diagnose exit code is 1)
Same problem with never moving past "Starting..." The whale animation in the menu just spins forever. The menu works. I can check for updates, open the "About" dialog, open preferences, etc... but it just stays in "Starting..."
I've uploaded my output from diagnose:
Your unique id is: A72A1695-9156-46A5-A920-2A3869BA1AE4
Please quote this in all correspondence.
First time I ran version, I got:
$ docker version
Client:
Version: 1.13.0-rc3
API version: 1.25
Go version: go1.7.3
Git commit: 4d92237
Built: Tue Dec 6 01:15:44 2016
OS/Arch: darwin/amd64
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
Just ran it again and now I'm getting:
$ docker version
Client:
Version: 1.13.0-rc3
API version: 1.25
Go version: go1.7.3
Git commit: 4d92237
Built: Tue Dec 6 01:15:44 2016
OS/Arch: darwin/amd64
Error response from daemon: Bad response from Docker engine
I've been using docker for about a year, toolbox then Mac native. Never had a problem until this latest update a few days ago. The first problem I experienced was a failure to remove a filesystem in https://github.com/docker/docker/issues/22260#issuecomment-267799892. This latest occurred after leaving my MBP for a while and allowing it to go to sleep. Upon waking up and logging in, the current problems started.
Even after quitting from the menu, i still have the following processes:
$ ps aux | grep docker
2:jeff 3935 2.3 1.6 4909516 269000 ?? S 11:08PM 0:25.87 /Applications/Docker.app/Contents/MacOS/com.docker.hyperkit -A -m 2048M -c 2 -u -s 0:0,hostbridge -s 31,lpc -s 2:0,virtio-vpnkit,uuid=a6f2c9ea-fd6e-431f-9b98-379e2a76f80f,path=/Users/jeff/Library/Containers/com.docker.docker/Data/s50,macfile=/Users/jeff/Library/Containers/com.docker.docker/Data/com.docker.driver.amd64-linux/mac.0 -s 3,ahci-hd,file:///Users/jeff/Library/Containers/com.docker.docker/Data/com.docker.driver.amd64-linux/Docker.qcow2?sync=1&buffered=1,format=qcow,qcow-config=discard=true;compact_after_unmaps=0 -s 4,virtio-9p,path=/Users/jeff/Library/Containers/com.docker.docker/Data/s40,tag=db -s 5,virtio-rnd -s 6,virtio-9p,path=/Users/jeff/Library/Containers/com.docker.docker/Data/s51,tag=port -s 7,virtio-sock,guest_cid=3,path=/Users/jeff/Library/Containers/com.docker.docker/Data,guest_forwards=2376;1525 -l com1,autopty=/Users/jeff/Library/Containers/com.docker.docker/Data/com.docker.driver.amd64-linux/tty,log=/Users/jeff/Library/Containers/com.docker.docker/Data/com.docker.driver.amd64-linux/console-ring -f kexec,/Applications/Docker.app/Contents/Resources/moby/vmlinuz64,/Applications/Docker.app/Contents/Resources/moby/initrd.img,earlyprintk=serial console=ttyS0 com.docker.driver="com.docker.driver.amd64-linux", com.docker.database="com.docker.driver.amd64-linux" ntp=gateway mobyplatform=mac vsyscall=emulate -F /Users/jeff/Library/Containers/com.docker.docker/Data/com.docker.driver.amd64-linux/hypervisor.pid
8:root 2011 0.0 0.0 2451584 5084 ?? Ss 10:55PM 0:00.01 /Library/PrivilegedHelperTools/com.docker.vmnetd
I tried kill -HUP on the Docker.app process, then sudo launchctl remove com.docker.vmnetd. That removed all processes. When I then restarted Docker, I was prompted for my admin password. Still same issue of not moving past "Starting..."
Anybody have any insight? I've backed up my Docker.qcow2 file. Can I do a factory reset and just copy my qcow2 back to it's original location to save from blowing away my images? Should I uninstall and try stable? Any help is appreciated!
EDIT: System info
Model Name: MacBook Pro
Model Identifier: MacBookPro10,1
Processor Name: Intel Core i7
Processor Speed: 2.3 GHz
Number of Processors: 1
Total Number of Cores: 4
L2 Cache (per Core): 256 KB
L3 Cache: 6 MB
Memory: 16 GB
Boot ROM Version: MBP101.00EE.B0A
SMC Version (system): 2.3f36
Serial Number (system): C02K402WF6L9
Hardware UUID: 5B66C8BF-66D0-5A57-88E5-CAF5B6A556D3
System Version: macOS 10.12.1 (16B2555)
Kernel Version: Darwin 16.1.0
Boot Volume: Macintosh HD
Boot Mode: Normal
Computer Name: JMBP
User Name: Jeff Kilbride (jeff)
Secure Virtual Memory: Enabled
System Integrity Protection: Enabled
Time since boot: 1:41
EDIT 2:
I tried the Reset to factory defaults from the preferences. After resetting, Docker launched successfully. Just for fun, I quit Docker and moved the newly created Docker.qcow2 to Docker.qcow2.orig and copied my backup from before the factory reset to Docker.qcow2. I'm back to the same problem of the never ending "Starting..." and spinning animation.
I'm wondering if this has something to do with the virtual size of my qcow2 file:
$ /Applications/Docker.app/Contents/MacOS/qemu-img info Docker.qcow2
image: Docker.qcow2
file format: qcow2
virtual size: 200G (214748364800 bytes)
disk size: 7.4G
cluster_size: 65536
Format specific information:
compat: 1.1
lazy refcounts: false
refcount bits: 16
corrupt: false
I saw in another issue (#371) that the max virtual size for Mac is supposed to be 64GB. I originally copied my containers over from my toolbox install, which is where I believe the 200GB setting comes from. The newly created qcow2 file after the factory reset has the correct virtual size:
$ /Applications/Docker.app/Contents/MacOS/qemu-img info Docker.qcow2.orig
image: Docker.qcow2.orig
file format: qcow2
virtual size: 64G (68719476736 bytes)
disk size: 2.0G
cluster_size: 65536
Format specific information:
compat: 1.1
lazy refcounts: true
refcount bits: 16
corrupt: false
Just wondering if this could have something to do with the problem. In that issue I just mentioned, it talks about some new code for shrinking the size of the qcow2 file. Anyway, it's the only difference my untrained eye can see...
I quit Docker from the menu and ran kill -HUP on the processes still running, then deleted my copied backup and put the newly created qcow2 back in place. Started Docker and it came back up again. Would be nice not to have to re-download my images, but...
Seems like it may be related to #1047.
@jeff-kilbride the max virtual size of 200G shouldn't be a problem in itself (provided you have enough disk space on the host, should the disk need to grow that big). However I suspect sometimes the "import from toolbox" option produces .qcow2 files with options enabled that Docker for Mac doesn't know how to read. If possible, could you reset to factory defaults and avoid the toolbox import?
@john3exonets the VM's console shows:
mke2fs 1.43.3 (04-Sep-2016)
/dev/sda1 contains a swap file system
Proceed anyway? (y,n)
I believe this should be fixed in beta 34, due for release later today.
I suspect this happened because the original toolbox VM had a swap filesystem on /dev/sda1, we imported it, and the "force" option was missing from the mkfs. A workaround would be use the "Whale menu -> Preferences -> Reset -> Reset to factory defaults" and then avoid the toolbox import, but this means all containers and images would need to be rebuilt.
@djs55 I have already gone that route. Docker is working again with the newly created .qcow2 file. I have just downloaded the latest update:
Version 1.13.0-rc4-beta34 (14840)
Channel: Beta
2645901539
and was able to start correctly. So, it seems to be working again! Thanks.
This was fixed in Beta 34.
Closed issues are locked after 30 days of inactivity. This helps our team focus on active issues.
If you have found a problem that seems similar to this, please open a new issue.
Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows. /lifecycle locked