for-mac icon indicating copy to clipboard operation
for-mac copied to clipboard

Docker never moves out of "Starting...." status

Open john3exonets opened this issue 9 years ago • 9 comments

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 3 xh_vm_run + 1576 (com.docker.hyperkit) [0x10b0beb8a] 3 __psynch_cvwait + 10 (libsystem_kernel.dylib) [0x7fff8f373136] 1 xh_vm_run + 4619 (com.docker.hyperkit) [0x10b0bf76d] 1 vmm_emulate_instruction + 3372 (com.docker.hyperkit) [0x10b0c156b] 1 vlapic_write + 351 (com.docker.hyperkit) [0x10b0bba42] 1 vlapic_icrtmr_write_handler + 313 (com.docker.hyperkit) [0x10b0ba5f5] 1 __psynch_cvsignal + 10 (libsystem_kernel.dylib) [0x7fff8f37311e] 4 callout_thread_func + 195 (com.docker.hyperkit) [0x10b0c06f4] 3 __psynch_cvwait + 10 (libsystem_kernel.dylib) [0x7fff8f373136] 1 _pthread_cond_wait + 751 (libsystem_pthread.dylib) [0x7fff8b95459a] 1 3 __select + 10 (libsystem_kernel.dylib) [0x7fff8f3733fa] 2 callout_thread_func + 236 (com.docker.hyperkit) [0x10b0c071d] 2 vlapic_callout_handler + 92 (com.docker.hyperkit) [0x10b0ba6eb] 2 vcpu_notify_event + 105 (com.docker.hyperkit) [0x10b0bd888] 2 __psynch_cvsignal + 10 (libsystem_kernel.dylib) [0x7fff8f37311e] 1 caml_thread_tick + 79 (com.docker.hyperkit) [0x10b088a7f] 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) /usr/lib/system/libsystem_pthread.dylib 0x7fff8f35d000 - 0x7fff8f37afff libsystem_kernel.dylib (2782.50.9) /usr/lib/system/libsystem_kernel.dylib

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 4 fmod + 24 (libsystem_m.dylib) [0x7fff86091048] 4 ??? [0x34d9f74e79db] 2 v8::internal::modulo(double, double) + 4 (node) [0x10017a4a4] 3 ??? [0x34d9f74e7900] 2 fmodf + 48 (libsystem_m.dylib) [0x7fff86091030] 2 ??? [0x34d9f74e7a0b] 2 ??? [0x34d9f74e7be1] 2 ??? [0x34d9f74e7bf4] 2 ??? [0x34d9f74e79fe] 2 ??? [0x34d9f74e79ea] 1 ??? [0x34d9f74e7a09] 1 ??? [0x34d9f74e7b9f] 1 ??? [0x34d9f74e791b] 1 ??? [0x34d9f74e79bd] 1 ??? [0x34d9f74e7a05] 1 ??? [0x34d9f74e794e] 1 ??? [0x34d9f74e799d] 2 node::Start(int, char**) + 305 (node) [0x100516a84] 2 node::LoadEnvironment(node::Environment) + 512 (node) [0x10051584c] 2 v8::Function::Call(v8::Handlev8::Value, int, v8::Handlev8::Value) + 207 (node) [0x100128f1f] 2 v8::internal::Invoke(bool, v8::internal::Handlev8::internal::JSFunction, v8::internal::Handlev8::internal::Object, int, v8::internal::Handlev8::internal::Object) + 431 (node) [0x1002143cf] 1 ??? [0x288c7201de90] 1 ??? [0x288c7201ef40] 1 ??? [0x288c72069d50] 1 ??? [0x288c7206b35f] 1 ??? [0x288c72094484] 1 ??? [0x288c72094ac5] 1 ??? [0x288c7209ea20] 1 ??? [0x288c720a21ec] 1 ??? [0x288c720a7d06] 1 ??? [0x288c72024ac6] 1 ??? [0x288c720a8da9] 1 ??? [0x288c720a925c] 1 ??? [0x288c720a9413] 1 ??? [0x288c7201e8d5] 1 ??? [0x288c72094ac5] 1 ??? [0x288c7209ea20] 1 ??? [0x288c720a21ec] 1 ??? [0x288c720a7d06] 1 ??? [0x288c72024ac6] 1 ??? [0x288c720b332e] 1 ??? [0x288c720a925c] 1 ??? [0x288c720a9413] 1 ??? [0x288c7201e8d5] 1 ??? [0x288c72094ac5] 1 ??? [0x288c7209ea20] 1 ??? [0x288c720a21ec] 1 ??? [0x288c720a7d06] 1 ??? [0x288c72024ac6] 1 ??? [0x288c720b39fe] 1 ??? [0x288c720a925c] 1 ??? [0x288c720a9413] 1 ??? [0x288c7201e8d5] 1 ??? [0x288c72094ac5] 1 ??? [0x288c7209ea20] 1 ??? [0x288c720a21ec] 1 ??? [0x288c720a7d06] 1 ??? [0x288c72024ac6] 1 ??? [0x288c720c2c1a] 1 ??? [0x288c720a925c] 1 ??? [0x288c720a9413] 1 ??? [0x288c7201e8d5] 1 ??? [0x288c72094ac5] 1 ??? [0x288c7209ea20] 1 ??? [0x288c720a21ec] 1 ??? [0x288c720a7d06] 1 ??? [0x288c72024ac6] 1 ??? [0x288c720c377d] 1 ??? [0x288c720a925c] 1 ??? [0x288c720a9413] 1 ??? [0x288c7201e8d5] 1 ??? [0x288c72094ac5] 1 ??? [0x288c7209ea20] 1 ??? [0x288c720a21ec] 1 ??? [0x288c720a7d06] 1 ??? [0x288c72024ac6] 1 ??? [0x288c720d6f32] 1 ??? [0x288c720a925c] 1 ??? [0x288c720a9413] 1 ??? [0x288c7201e8d5] 1 ??? [0x288c72094ac5] 1 ??? [0x288c7209ea20] 1 ??? [0x288c720a21ec] 1 ??? [0x288c720a7d06] 1 ??? [0x288c72024ac6] 1 ??? [0x288c720dfbd0] 1 ??? [0x288c720a925c] 1 ??? [0x288c720a9413] 1 ??? [0x288c7201e8d5] 1 ??? [0x288c72094ac5] 1 ??? [0x288c7209ea20] 1 ??? [0x288c720a21ec] 1 ??? [0x288c720a7d06] 1 ??? [0x288c72024ac6] 1 ??? [0x288c720e0f80] 1 ??? [0x288c720a925c] 1 ??? [0x288c720a9413] 1 ??? [0x288c7201e8d5] 1 ??? [0x288c72094661] 1 ??? [0x288c72094e75] 1 ??? [0x288c72096ec7] 1 ??? [0x288c720ac030] 1 ??? [0x288c720c6b9f] 1 ??? [0x288c720978d4] 1 ??? [0x288c72097a78] 1 ??? [0x288c720060a2] 1 v8::internal::Builtin_HandleApiCall(int, v8::internal::Object**, v8::internal::Isolate*) + 517 (node) [0x100161415] 1 v8::internal::FunctionCallbackArguments::Call(void ()(v8::FunctionCallbackInfov8::Value const&)) + 159 (node) [0x10013e77f] 1 node::Stat(v8::FunctionCallbackInfov8::Value const&) + 385 (node) [0x100526a14] 1 uv_fs_stat + 179 (node) [0x1006217cc] 1 stat$INODE64 + 10 (libsystem_kernel.dylib) [0x7fff8f374a72] 1 1 ??? [0x20ad9b91de90] 1 ??? [0x20ad9b91ef40] 1 ??? [0x20ad9b969d50] 1 ??? [0x20ad9b96b35f] 1 ??? [0x20ad9b994484] 1 ??? [0x20ad9b994ac5] 1 ??? [0x20ad9b99e000] 1 ??? [0x20ad9b9a186c] 1 ??? [0x20ad9b9a7386] 1 ??? [0x20ad9b924ac6] 1 ??? [0x20ad9b9a8422] 1 ??? [0x20ad9b9a907c] 1 ??? [0x20ad9b91f2f9] 1 ??? [0x20ad9b9060a2] 1 v8::internal::Runtime_CompileOptimized(int, v8::internal::Object**, v8::internal::Isolate) + 566 (node) [0x100420cf6] 1 v8::internal::Compiler::GetOptimizedCode(v8::internal::Handlev8::internal::JSFunction, v8::internal::Handlev8::internal::Code, v8::internal::Compiler::ConcurrencyMode, v8::internal::BailoutId) + 1135 (node) [0x1001d149f] 1 v8::internal::OptimizedCompileJob::CreateGraph() + 1073 (node) [0x1001d0341] 1 v8::internal::AstTyper::Run(v8::internal::CompilationInfo*) + 44 (node) [0x10048094c] 1 v8::internal::AstTyper::AstTyper(v8::internal::CompilationInfo*) + 304 (node) [0x1004808b0] 1 v8::internal::TypeFeedbackOracle::TypeFeedbackOracle(v8::internal::Handlev8::internal::Code, v8::internal::Handlev8::internal::FixedArray, v8::internal::Handlev8::internal::Context, v8::internal::Zone*) + 41 (node) [0x10046a9c9] 1 v8::internal::TypeFeedbackOracle::BuildDictionary(v8::internal::Handlev8::internal::Code) + 447 (node) [0x10046abff] 1 v8::internal::Dictionary<v8::internal::UnseededNumberDictionary, v8::internal::UnseededNumberDictionaryShape, unsigned int>::New(v8::internal::Isolate*, int, v8::internal::PretenureFlag) + 112 (node) [0x1003ce4a0] 1 v8::internal::Factory::NewFixedArray(int, v8::internal::PretenureFlag) + 36 (node) [0x100226834] 1 v8::internal::Heap::AllocateFixedArray(int, v8::internal::PretenureFlag) + 135 (node) [0x10026c8d7] 1

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) /usr/lib/system/libsystem_kernel.dylib

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 4 WSBackingStoreSetPurgeable + 58 (CoreGraphics) [0x7fff8978fa6d] 4 IOAccelSurfaceControl + 74 (IOKit) [0x7fff92001329] 4 IOConnectCallScalarMethod + 111 (IOKit) [0x7fff91ff6c52] 4 io_connect_method + 381 (IOKit) [0x7fff9205316c] 4 mach_msg_trap + 10 (libsystem_kernel.dylib) [0x7fff8f36e4de] 3 CGXBeginSurfaceLayerUpdate + 7961 (CoreGraphics) [0x7fff898f1926] 3 CA::Render::Context::context_by_id(unsigned int) + 59 (QuartzCore) [0x7fff833a891b] 1 x_hash_table_lookup + 129 (QuartzCore) [0x7fff83383c49] 1 1 x_hash_table_lookup + 64 (QuartzCore) [0x7fff83383c08] 1 1 x_hash_table_lookup + 78 (QuartzCore) [0x7fff83383c16] 1 1 CGXBeginSurfaceLayerUpdate + 884 (CoreGraphics) [0x7fff898efd81] 1 CARenderUpdateAddContext2 + 37 (QuartzCore) [0x7fff83461e00] 1 CA::Render::Update::add_context(CA::Render::Context*, CA::Render::Layer*, CA::Transform const*) + 1064 (QuartzCore) [0x7fff833b23d8] 1 CA::Render::Updater::prepare_layer0(CA::Render::Updater::GlobalState&, CA::Render::LayerNode*, CA::Render::Layer*, CA::Render::Updater::LocalState0&, unsigned int) + 3721 (QuartzCore) [0x7fff833b3630] 1 CA::Render::Updater::prepare_sublayer0(CA::Render::Updater::GlobalState&, CA::Render::Updater::LocalState0&, CA::Render::Layer*, bool) + 128 (QuartzCore) [0x7fff833b4179] 1 CA::Render::Updater::prepare_layer0(CA::Render::Updater::GlobalState&, CA::Render::LayerNode*, CA::Render::Layer*, CA::Render::Updater::LocalState0&, unsigned int) + 3721 (QuartzCore) [0x7fff833b3630] 1 CA::Render::Updater::prepare_sublayer0(CA::Render::Updater::GlobalState&, CA::Render::Updater::LocalState0&, CA::Render::Layer*, bool) + 128 (QuartzCore) [0x7fff833b4179] 1 CA::Render::Updater::prepare_layer0(CA::Render::Updater::GlobalState&, CA::Render::LayerNode*, CA::Render::Layer*, CA::Render::Updater::LocalState0&, unsigned int) + 3721 (QuartzCore) [0x7fff833b3630] 1 CA::Render::Updater::prepare_sublayer0(CA::Render::Updater::GlobalState&, CA::Render::Updater::LocalState0&, CA::Render::Layer*, bool) + 128 (QuartzCore) [0x7fff833b4179] 1 CA::Render::Updater::prepare_layer0(CA::Render::Updater::GlobalState&, CA::Render::LayerNode*, CA::Render::Layer*, CA::Render::Updater::LocalState0&, unsigned int) + 3721 (QuartzCore) [0x7fff833b3630] 1 CA::Render::Updater::prepare_sublayer0(CA::Render::Updater::GlobalState&, CA::Render::Updater::LocalState0&, CA::Render::Layer*, bool) + 128 (QuartzCore) [0x7fff833b4179] 1 CA::Render::Updater::prepare_layer0(CA::Render::Updater::GlobalState&, CA::Render::LayerNode*, CA::Render::Layer*, CA::Render::Updater::LocalState0&, unsigned int) + 3721 (QuartzCore) [0x7fff833b3630] 1 CA::Render::Updater::prepare_sublayer0(CA::Render::Updater::GlobalState&, CA::Render::Updater::LocalState0&, CA::Render::Layer*, bool) + 128 (QuartzCore) [0x7fff833b4179] 1 CA::Render::Updater::prepare_layer0(CA::Render::Updater::GlobalState&, CA::Render::LayerNode*, CA::Render::Layer*, CA::Render::Updater::LocalState0&, unsigned int) + 3721 (QuartzCore) [0x7fff833b3630] 1 CA::Render::Updater::prepare_sublayer0(CA::Render::Updater::GlobalState&, CA::Render::Updater::LocalState0&, CA::Render::Layer*, bool) + 128 (QuartzCore) [0x7fff833b4179] 1 CA::Render::Updater::prepare_layer0(CA::Render::Updater::GlobalState&, CA::Render::LayerNode*, CA::Render::Layer*, CA::Render::Updater::LocalState0&, unsigned int) + 3721 (QuartzCore) [0x7fff833b3630] 1 CA::Render::Updater::prepare_sublayer0(CA::Render::Updater::GlobalState&, CA::Render::Updater::LocalState0&, CA::Render::Layer*, bool) + 128 (QuartzCore) [0x7fff833b4179] 1 CA::Render::Updater::prepare_layer0(CA::Render::Updater::GlobalState&, CA::Render::LayerNode*, CA::Render::Layer*, CA::Render::Updater::LocalState0&, unsigned int) + 3721 (QuartzCore) [0x7fff833b3630] 1 CA::Render::Updater::prepare_sublayer0(CA::Render::Updater::GlobalState&, CA::Render::Updater::LocalState0&, CA::Render::Layer*, bool) + 128 (QuartzCore) [0x7fff833b4179] 1 CA::Render::Updater::prepare_layer0(CA::Render::Updater::GlobalState&, CA::Render::LayerNode*, CA::Render::Layer*, CA::Render::Updater::LocalState0&, unsigned int) + 3721 (QuartzCore) [0x7fff833b3630] 1 CA::Render::Updater::prepare_sublayer0(CA::Render::Updater::GlobalState&, CA::Render::Updater::LocalState0&, CA::Render::Layer*, bool) + 128 (QuartzCore) [0x7fff833b4179] 1 CA::Render::Updater::prepare_layer0(CA::Render::Updater::GlobalState&, CA::Render::LayerNode*, CA::Render::Layer*, CA::Render::Updater::LocalState0&, unsigned int) + 3721 (QuartzCore) [0x7fff833b3630] 1 CA::Render::Updater::prepare_sublayer0(CA::Render::Updater::GlobalState&, CA::Render::Updater::LocalState0&, CA::Render::Layer*, bool) + 128 (QuartzCore) [0x7fff833b4179] 1 CA::Render::Updater::prepare_layer0(CA::Render::Updater::GlobalState&, CA::Render::LayerNode*, CA::Render::Layer*, CA::Render::Updater::LocalState0&, unsigned int) + 3721 (QuartzCore) [0x7fff833b3630] 1 CA::Render::Updater::prepare_sublayer0(CA::Render::Updater::GlobalState&, CA::Render::Updater::LocalState0&, CA::Render::Layer*, bool) + 421 (QuartzCore) [0x7fff833b429e] 1 1 CGXBeginSurfaceLayerUpdate + 101 (CoreGraphics) [0x7fff898efa72] 1 WSWindowGetSurfaceCount + 10 (CoreGraphics) [0x7fff89a5d421] 1 4 CGXUpdateDisplay + 7947 (CoreGraphics) [0x7fff897b8b5b] 4 finalize_CoreAnimation_update_state + 87 (CoreGraphics) [0x7fff897be366] 3 CGXCollectSurfaceBacking + 57 (CoreGraphics) [0x7fff898f2360] 2 WSBackingStoreSetPurgeable + 40 (CoreGraphics) [0x7fff8978fa5b] 2 IOAccelSurfaceControl + 74 (IOKit) [0x7fff92001329] 2 IOConnectCallScalarMethod + 111 (IOKit) [0x7fff91ff6c52] 2 io_connect_method + 381 (IOKit) [0x7fff9205316c] 2 mach_msg_trap + 10 (libsystem_kernel.dylib) [0x7fff8f36e4de] 1 WSBackingStoreSetPurgeable + 58 (CoreGraphics) [0x7fff8978fa6d] 1 IOAccelSurfaceControl + 74 (IOKit) [0x7fff92001329] 1 IOConnectCallScalarMethod + 111 (IOKit) [0x7fff91ff6c52] 1 io_connect_method + 381 (IOKit) [0x7fff9205316c] 1 mach_msg_trap + 10 (libsystem_kernel.dylib) [0x7fff8f36e4de] 1 CGXCollectSurfaceBacking + 43 (CoreGraphics) [0x7fff898f2352] 1 1 CGXRunOneServicesPass + 705 (CoreGraphics) [0x7fff8971c389] 1 mach_msg_trap + 10 (libsystem_kernel.dylib) [0x7fff8f36e4de] 1 CGXRunOneServicesPass + 713 (CoreGraphics) [0x7fff8971c391] 1 CGSCurrentRealTime + 19 (CoreGraphics) [0x7fff895b1476]

Binary Images: 0x104a1d000 - 0x104a1dfff WindowServer (1) /System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Resources/WindowServer 0x7fff83381000 - 0x7fff83531ff3 com.apple.QuartzCore 1.10 (361.19) /System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore 0x7fff895ad000 - 0x7fff89df1ffb com.apple.CoreGraphics 1.600.0 <83491927-C5F2-3E1D-9C01-84BC802AEFF3> /System/Library/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics 0x7fff8b9ec000 - 0x7fff8b9f4fff libsystem_platform.dylib (63) <64E34079-D712-3D66-9CE2-418624A5C040> /usr/lib/system/libsystem_platform.dylib 0x7fff8f35d000 - 0x7fff8f37afff libsystem_kernel.dylib (2782.50.9) /usr/lib/system/libsystem_kernel.dylib 0x7fff906aa000 - 0x7fff906adff7 libdyld.dylib (353.2.4) <224F35C5-6E35-3EC4-A97C-80949CE444E7> /usr/lib/system/libdyld.dylib 0x7fff91ff0000 - 0x7fff92062fff com.apple.framework.IOKit 2.0.2 <09C0518C-90DF-3FC3-96D6-34D35F72C8EF> /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit

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 1 _dispatch_queue_drain + 265 (libdispatch.dylib) [0x7fff901ef28a] 1 __bsdthread_ctl + 10 (libsystem_kernel.dylib) [0x7fff8f3727f2] 1 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 -[OS_xpc_object _xref_dispose] + 48 (libxpc.dylib) [0x7fff83578470] 1 _xpc_dispose + 15 (libxpc.dylib) [0x7fff8357848c] 1 _xpc_dictionary_dispose + 34 (libxpc.dylib) [0x7fff8357ade6] 1 _xpc_dictionary_node_free + 54 (libxpc.dylib) [0x7fff8357aeca] 1 -[OS_xpc_object _xref_dispose] + 48 (libxpc.dylib) [0x7fff83578470] 1 object_dispose + 54 (libobjc.A.dylib) [0x7fff82f165b5] 1 szone_free_definite_size + 1583 (libsystem_malloc.dylib) [0x7fff8d1f0b2e] 1 tiny_free_list_remove_ptr + 343 (libsystem_malloc.dylib) [0x7fff8d1f250b] 1 1 _dispatch_root_queue_drain + 1203 (libdispatch.dylib) [0x7fff901eeed3] 1 _voucher_dispose + 83 (libdispatch.dylib) [0x7fff901f2f93] 1 _voucher_dealloc_mach_voucher + 9 (libdispatch.dylib) [0x7fff901f29ae] 1 _kernelrpc_mach_port_deallocate_trap + 10 (libsystem_kernel.dylib) [0x7fff8f36e44e] 4 __pthread_set_self + 16 (libsystem_pthread.dylib) [0x7fff8b9513d0] 3 _dispatch_mgr_thread + 52 (libdispatch.dylib) [0x7fff901f026e] 3 kevent64 + 10 (libsystem_kernel.dylib) [0x7fff8f374232]

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) /usr/lib/system/libsystem_pthread.dylib 0x7fff8d1ec000 - 0x7fff8d208ff7 libsystem_malloc.dylib (53.30.1) /usr/lib/system/libsystem_malloc.dylib 0x7fff8f35d000 - 0x7fff8f37afff libsystem_kernel.dylib (2782.50.9) /usr/lib/system/libsystem_kernel.dylib 0x7fff901ea000 - 0x7fff90214ff7 libdispatch.dylib (442.50.1) /usr/lib/system/libdispatch.dylib

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 1 __CFRunLoopDoTimer + 1316 (CoreFoundation) [0x98bb5ab4] 1 CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION + 22 (CoreFoundation) [0x98bb6006] 1 IdleTimerVector + 63 (HIToolbox) [0x943dd3ab] 1 MbuSeriouslyEnableTimers + 354 (mbukernel) [0x21862cd] 1 FreeCab + 186 (MicrosoftOffice) [0x2a314df] 1 FreeCab + 334 (MicrosoftOffice) [0x2a31573] 1 DDCS_EnterTag + 6 (MicrosoftDDCS) [0x7b04d34] 1 3 __CFRunLoopRun + 1529 (CoreFoundation) [0x98b6d309] 3 __CFRunLoopServiceMachPort + 214 (CoreFoundation) [0x98b6def6] 3 mach_msg_trap + 10 (libsystem_kernel.dylib) [0x929149ce] 2 __CFRunLoopRun + 1286 (CoreFoundation) [0x98b6d216] 2 __CFRunLoopDoObservers + 400 (CoreFoundation) [0x98b7b760] 2 CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION + 30 (CoreFoundation) [0x98b7b81e] 1 FlushAllBuffers(__CFRunLoopObserver*, unsigned long, void*) + 251 (HIToolbox) [0x9423c662] 1 FlushWindowObject(WindowData*, void**, unsigned char) + 86 (HIToolbox) [0x942319b9] 1 GetEventTargetModificationCount + 6 (HIToolbox) [0x9421d2a4] 1 1 FlushAllBuffers(__CFRunLoopObserver*, unsigned long, void*) + 556 (HIToolbox) [0x9423c793] 1 CFRunLoopTimerSetNextFireDate + 663 (CoreFoundation) [0x98bb4ed7] 1 __CFRepositionTimerInMode + 125 (CoreFoundation) [0x98b74f2d] 1 mk_timer_arm + 10 (libsystem_kernel.dylib) [0x92914b12] 1 __CFRunLoopRun + 1833 (CoreFoundation) [0x98b6d439] 1 _kernelrpc_mach_port_extract_member_trap + 10 (libsystem_kernel.dylib) [0x9291497a]

Binary Images: 0xc000 - 0x1d89fe3 com.microsoft.Word 14.6.9 (14.6.9) /Applications/Microsoft Office 2011/Microsoft Word.app/Contents/MacOS/Microsoft Word 0x2181000 - 0x219aff3 com.microsoft.mbukernel 14.6.9 (14.6.9) <30DC64A3-2D49-BBD1-831B-A16656F20FDC> /Applications/Microsoft Office 2011//mbukernel.framework/Versions/14/mbukernel 0x2231000 - 0x2468fe7 com.microsoft.mcp 14.6.9 (14.6.9) /Applications/Microsoft Office 2011//MicrosoftComponentPlugin.framework/Versions/14/MicrosoftComponentPlugin 0x29ca000 - 0x3140ff3 com.microsoft.office 14.6.9 (14.6.9) <21C24E57-35B6-4DB2-1DD6-BECD447797BB> /Applications/Microsoft Office 2011//MicrosoftOffice.framework/Versions/14/MicrosoftOffice 0x4d27000 - 0x4d53fe3 com.microsoft.wlmkernel 14.6.9 (14.6.9) /Applications/Microsoft Office 2011//WLMKernel.framework/Versions/14/WLMKernel 0x7b04000 - 0x7b04fff com.microsoft.ddcs 14.6.9 (14.6.9) <7262D42F-2226-FB42-4A5C-2FD31076801B> /Applications/Microsoft Office 2011/*/MicrosoftDDCS.framework/Versions/14/MicrosoftDDCS 0x92901000 - 0x92920fff libsystem_kernel.dylib (2782.50.9) /usr/lib/system/libsystem_kernel.dylib 0x94205000 - 0x945deff3 com.apple.HIToolbox 2.1.1 <581BD5B0-2854-320C-8F6D-8A4A1EA53C73> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox 0x98af6000 - 0x98eaaff7 com.apple.CoreFoundation 6.9 (1153.18) <267B1002-C755-37B4-95CD-92358CF994B8> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation

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) /usr/lib/system/libsystem_pthread.dylib 0x7fff8f35d000 - 0x7fff8f37afff libsystem_kernel.dylib (2782.50.9) /usr/lib/system/libsystem_kernel.dylib 0x7fff901ea000 - 0x7fff90214ff7 libdispatch.dylib (442.50.1) /usr/lib/system/libdispatch.dylib

  • 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.

  1. ...
  2. ...

john3exonets avatar Dec 09 '16 17:12 john3exonets

Same error here with OS X 10.11.6 (15G31)

abelgvidal avatar Dec 13 '16 22:12 abelgvidal

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!

JoshAnderson avatar Dec 14 '16 00:12 JoshAnderson

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)

john3exonets avatar Dec 18 '16 17:12 john3exonets

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 avatar Dec 20 '16 07:12 jeff-kilbride

@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?

djs55 avatar Dec 20 '16 11:12 djs55

@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 avatar Dec 20 '16 11:12 djs55

@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.

jeff-kilbride avatar Dec 20 '16 18:12 jeff-kilbride

This was fixed in Beta 34.

dsheets avatar Jan 17 '17 15:01 dsheets

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

docker-robott avatar Jun 21 '20 03:06 docker-robott