docker / for-mac

Bug reports for Docker Desktop for Mac
https://www.docker.com/products/docker#/mac
2.43k stars 118 forks source link

Segfault in com.docker.vpnkit #6379

Closed tdkt closed 1 year ago

tdkt commented 2 years ago

I can't get docker to start on mac M1 max with macos 12.4. I have filed a support ticket for that, however in the macos console app I can see that vpnkit segfaults, which AFAICT must be a memory error in vpnkit, so I report it here.

Expected behavior

no segfaults

Actual behavior

vpnkit segfaults

Information

Crash report from Console
-------------------------------------
Translated Report (Full Report Below)
-------------------------------------

Process:               com.docker.vpnkit [26626]
Path:                  /Applications/Docker.app/Contents/Resources/bin/com.docker.vpnkit
Identifier:            com.docker.vpnkit
Version:               ???
Code Type:             ARM-64 (Native)
Parent Process:        com.docker.backend [26619]
Responsible:           Docker [26618]
User ID:               502

Date/Time:             2022-06-29 10:52:41.2782 +0200
OS Version:            macOS 12.4 (21F79)
Report Version:        12
Anonymous UUID:        A63F790C-0A46-8700-E010-6411457C8275

Time Awake Since Boot: 8400 seconds

System Integrity Protection: enabled

Crashed Thread:        0  Dispatch queue: com.apple.main-thread

Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
Exception Codes:       KERN_PROTECTION_FAILURE at 0x000000016e89fff8
Exception Codes:       0x0000000000000002, 0x000000016e89fff8
Exception Note:        EXC_CORPSE_NOTIFY

Termination Reason:    Namespace SIGNAL, Code 11 Segmentation fault: 11
Terminating Process:   exc handler [26626]

VM Region Info: 0x16e89fff8 is in 0x16b09c000-0x16e8a0000;  bytes after start: 58736632  bytes before end: 7
      REGION TYPE                    START - END         [ VSIZE] PRT/MAX SHRMOD  REGION DETAIL
      MALLOC_MEDIUM (reserved)    167800000-168000000    [ 8192K] rw-/rwx SM=NUL  ...(unallocated)
      GAP OF 0x309c000 BYTES
--->  STACK GUARD                 16b09c000-16e8a0000    [ 56.0M] ---/rwx SM=NUL  ... for thread 0
      Stack                       16e8a0000-16f09c000    [ 8176K] rw-/rwx SM=PRV  thread 0

Thread 0 Crashed::  Dispatch queue: com.apple.main-thread
0   com.docker.vpnkit                      0x101375a8c camlStdlib__list__map_236 + 4
1   com.docker.vpnkit                      0x101375ac8 camlStdlib__list__map_236 + 64
2   com.docker.vpnkit                      0x101420d60 caml_callback2_exn + 60
3   com.docker.vpnkit                      0x1013e07cc fs_callback + 232
4   com.docker.vpnkit                      0x1013ebe64 uv__work_done + 192
5   com.docker.vpnkit                      0x1013eeb98 uv__async_io + 260
6   com.docker.vpnkit                      0x1013fd218 uv__io_poll + 904
7   com.docker.vpnkit                      0x1013eefc8 uv_run + 372
8   com.docker.vpnkit                      0x1013d3df8 uwt_run_loop + 280
9   com.docker.vpnkit                      0x10142be5c caml_c_call + 28
10  com.docker.vpnkit                      0x100e1c9e0 camlUwt__run_3961 + 304

Thread 1:
0   libsystem_kernel.dylib                 0x18fa6a270 __psynch_cvwait + 8
1   libsystem_pthread.dylib                0x18faa483c _pthread_cond_wait + 1236
2   com.docker.vpnkit                      0x1013d3478 caml_condition_wait + 100
3   com.docker.vpnkit                      0x10142be5c caml_c_call + 28
4   com.docker.vpnkit                      0x101420d18 caml_callback_exn + 44
5   com.docker.vpnkit                      0x1013d2950 caml_thread_start + 112
6   libsystem_pthread.dylib                0x18faa426c _pthread_start + 148
7   libsystem_pthread.dylib                0x18fa9f08c thread_start + 8

Thread 2:
0   libsystem_kernel.dylib                 0x18fa71598 __select + 8
1   com.docker.vpnkit                      0x1013d29c4 caml_thread_tick + 88
2   libsystem_pthread.dylib                0x18faa426c _pthread_start + 148
3   libsystem_pthread.dylib                0x18fa9f08c thread_start + 8

Thread 3:
0   libsystem_kernel.dylib                 0x18fa6a270 __psynch_cvwait + 8
1   libsystem_pthread.dylib                0x18faa483c _pthread_cond_wait + 1236
2   com.docker.vpnkit                      0x1013f95cc uv_cond_wait + 12
3   com.docker.vpnkit                      0x1013ec15c worker + 108
4   libsystem_pthread.dylib                0x18faa426c _pthread_start + 148
5   libsystem_pthread.dylib                0x18fa9f08c thread_start + 8

Thread 4:
0   libsystem_kernel.dylib                 0x18fa6a270 __psynch_cvwait + 8
1   libsystem_pthread.dylib                0x18faa483c _pthread_cond_wait + 1236
2   com.docker.vpnkit                      0x1013f95cc uv_cond_wait + 12
3   com.docker.vpnkit                      0x1013ec15c worker + 108
4   libsystem_pthread.dylib                0x18faa426c _pthread_start + 148
5   libsystem_pthread.dylib                0x18fa9f08c thread_start + 8

Thread 5:
0   libsystem_kernel.dylib                 0x18fa6a270 __psynch_cvwait + 8
1   libsystem_pthread.dylib                0x18faa483c _pthread_cond_wait + 1236
2   com.docker.vpnkit                      0x1013f95cc uv_cond_wait + 12
3   com.docker.vpnkit                      0x1013ec15c worker + 108
4   libsystem_pthread.dylib                0x18faa426c _pthread_start + 148
5   libsystem_pthread.dylib                0x18fa9f08c thread_start + 8

Thread 6:
0   libsystem_kernel.dylib                 0x18fa6a270 __psynch_cvwait + 8
1   libsystem_pthread.dylib                0x18faa483c _pthread_cond_wait + 1236
2   com.docker.vpnkit                      0x1013f95cc uv_cond_wait + 12
3   com.docker.vpnkit                      0x1013ec15c worker + 108
4   libsystem_pthread.dylib                0x18faa426c _pthread_start + 148
5   libsystem_pthread.dylib                0x18fa9f08c thread_start + 8

Thread 0 crashed with ARM Thread State (64-bit):
    x0: 0x000000010158cda8   x1: 0x0000000158153850   x2: 0x000000010158cda8   x3: 0x00000001600c68f8
    x4: 0x0000000100d9c488   x5: 0x00000001600c5af8   x6: 0x000000013804cd00   x7: 0x00000000000014f7
    x8: 0x0000000100d78a70   x9: 0x0100000000000005  x10: 0x0000000158153868  x11: 0x000000010158cef0
   x12: 0x0000000100d9c420  x13: 0x00000000000028f7  x14: 0x0000000100d6f920  x15: 0x0300000000000007
   x16: 0x000000010140e5cc  x17: 0x000000000000000b  x18: 0x0000000000000000  x19: 0x0000000100d78ac0
   x20: 0x0000000000020001  x21: 0x00000001600b4f58  x22: 0x00000001600c4c90  x23: 0x00000001600ae548
   x24: 0x0000000100d9c420  x25: 0x0000000145e04290  x26: 0x000000016f092200  x27: 0x000000013804cca0
   x28: 0x0000000138009000   fp: 0x000000016f092550   lr: 0x0000000101375ac8
    sp: 0x000000016e89ffe0   pc: 0x0000000101375a8c cpsr: 0x20001000
   far: 0x000000016e89fff8  esr: 0x92000047 (Data Abort) byte write Translation fault

Binary Images:
       0x100d64000 -        0x10153ffff com.docker.vpnkit (*) <2fdcfba6-a0cb-3df1-a561-58b36b92bc6f> /Applications/Docker.app/Contents/Resources/bin/com.docker.vpnkit
       0x18fa65000 -        0x18fa9cfff libsystem_kernel.dylib (*) <03f48dc5-caa7-3678-af61-1a3c7fa8b06e> /usr/lib/system/libsystem_kernel.dylib
       0x18fa9d000 -        0x18faa9fff libsystem_pthread.dylib (*) <42166a2c-89a9-3c38-a215-f028544cea23> /usr/lib/system/libsystem_pthread.dylib
               0x0 - 0xffffffffffffffff ??? (*) <00000000-0000-0000-0000-000000000000> ???

External Modification Summary:
  Calls made by other processes targeting this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
  Calls made by this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
  Calls made by all processes on this machine:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0

VM Region Summary:
ReadOnly portion of Libraries: Total=595.8M resident=0K(0%) swapped_out_or_unallocated=595.8M(100%)
Writable regions: Total=1.7G written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=1.7G(100%)

                                VIRTUAL   REGION 
REGION TYPE                        SIZE    COUNT (non-coalesced) 
===========                     =======  ======= 
Kernel Alloc Once                   32K        1 
MALLOC                           300.0M       37 
MALLOC guard page                   96K        5 
MALLOC_MEDIUM (reserved)           1.0G        9         reserved VM address space (unallocated)
MALLOC_NANO (reserved)           384.0M        1         reserved VM address space (unallocated)
STACK GUARD                       56.1M        7 
Stack                             41.1M        7 
__AUTH                              46K       11 
__AUTH_CONST                        67K       38 
__DATA                            6645K       38 
__DATA_CONST                       258K       40 
__DATA_DIRTY                        73K       21 
__LINKEDIT                       583.3M        3 
__OBJC_CONST                        10K        5 
__OBJC_RO                         83.0M        1 
__OBJC_RW                         3152K        1 
__TEXT                            12.4M       43 
dyld private memory               1024K        1 
shared memory                       32K        2 
===========                     =======  ======= 
TOTAL                              2.5G      271 
TOTAL, minus reserved VM space     1.1G      271 

-----------
Full Report
-----------

{"app_name":"com.docker.vpnkit","timestamp":"2022-06-29 10:52:41.00 +0200","app_version":"","slice_uuid":"2fdcfba6-a0cb-3df1-a561-58b36b92bc6f","build_version":"","platform":1,"share_with_app_devs":1,"is_first_party":1,"bug_type":"309","os_version":"macOS 12.4 (21F79)","incident_id":"A5DB30EC-C062-4970-B28F-D7E31E90F2D1","name":"com.docker.vpnkit"}
{
  "uptime" : 8400,
  "procLaunch" : "2022-06-29 10:52:40.5915 +0200",
  "procRole" : "Unspecified",
  "version" : 2,
  "userID" : 502,
  "deployVersion" : 210,
  "modelCode" : "MacBookPro18,2",
  "procStartAbsTime" : 203587724043,
  "coalitionID" : 1610,
  "osVersion" : {
    "train" : "macOS 12.4",
    "build" : "21F79",
    "releaseType" : "User"
  },
  "captureTime" : "2022-06-29 10:52:41.2782 +0200",
  "incident" : "A5DB30EC-C062-4970-B28F-D7E31E90F2D1",
  "bug_type" : "309",
  "pid" : 26626,
  "procExitAbsTime" : 203602746926,
  "translated" : false,
  "cpuType" : "ARM-64",
  "procName" : "com.docker.vpnkit",
  "procPath" : "\/Applications\/Docker.app\/Contents\/Resources\/bin\/com.docker.vpnkit",
  "parentProc" : "com.docker.backend",
  "parentPid" : 26619,
  "coalitionName" : "com.docker.docker",
  "crashReporterKey" : "A63F790C-0A46-8700-E010-6411457C8275",
  "responsiblePid" : 26618,
  "responsibleProc" : "Docker",
  "sip" : "enabled",
  "vmRegionInfo" : "0x16e89fff8 is in 0x16b09c000-0x16e8a0000;  bytes after start: 58736632  bytes before end: 7\n      REGION TYPE                    START - END         [ VSIZE] PRT\/MAX SHRMOD  REGION DETAIL\n      MALLOC_MEDIUM (reserved)    167800000-168000000    [ 8192K] rw-\/rwx SM=NUL  ...(unallocated)\n      GAP OF 0x309c000 BYTES\n--->  STACK GUARD                 16b09c000-16e8a0000    [ 56.0M] ---\/rwx SM=NUL  ... for thread 0\n      Stack                       16e8a0000-16f09c000    [ 8176K] rw-\/rwx SM=PRV  thread 0",
  "isCorpse" : 1,
  "exception" : {"codes":"0x0000000000000002, 0x000000016e89fff8","rawCodes":[2,6149505016],"type":"EXC_BAD_ACCESS","signal":"SIGSEGV","subtype":"KERN_PROTECTION_FAILURE at 0x000000016e89fff8"},
  "termination" : {"flags":0,"code":11,"namespace":"SIGNAL","indicator":"Segmentation fault: 11","byProc":"exc handler","byPid":26626},
  "vmregioninfo" : "0x16e89fff8 is in 0x16b09c000-0x16e8a0000;  bytes after start: 58736632  bytes before end: 7\n      REGION TYPE                    START - END         [ VSIZE] PRT\/MAX SHRMOD  REGION DETAIL\n      MALLOC_MEDIUM (reserved)    167800000-168000000    [ 8192K] rw-\/rwx SM=NUL  ...(unallocated)\n      GAP OF 0x309c000 BYTES\n--->  STACK GUARD                 16b09c000-16e8a0000    [ 56.0M] ---\/rwx SM=NUL  ... for thread 0\n      Stack                       16e8a0000-16f09c000    [ 8176K] rw-\/rwx SM=PRV  thread 0",
  "extMods" : {"caller":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"system":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"targeted":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"warnings":0},
  "faultingThread" : 0,
  "threads" : [{"triggered":true,"id":131122,"threadState":{"x":[{"value":4317564328,"symbolLocation":0,"symbol":"camlHosts__135"},{"value":5772752976},{"value":4317564328,"symbolLocation":0,"symbol":"camlHosts__135"},{"value":5906393336},{"value":4309238920,"symbolLocation":0,"symbol":"camlHosts__fun_1073"},{"value":5906389752},{"value":5234806016},{"value":5367},{"value":4309092976,"symbolLocation":0,"symbol":"camlDune__exe__Logging__k_734"},{"value":72057594037927941},{"value":5772753000},{"value":4317564656,"symbolLocation":0,"symbol":"camlHosts__3"},{"value":4309238816,"symbolLocation":0,"symbol":"camlHosts__fun_1071"},{"value":10487},{"value":4309055776,"symbolLocation":0,"symbol":"caml_curry3"},{"value":216172782113783815},{"value":4315997644,"symbolLocation":0,"symbol":"caml_modify"},{"value":11},{"value":0},{"value":4309093056,"symbolLocation":0,"symbol":"camlDune__exe__Logging__fun_1199"},{"value":131073},{"value":5906321240},{"value":5906386064},{"value":5906294088},{"value":4309238816,"symbolLocation":0,"symbol":"camlHosts__fun_1071"},{"value":5467292304},{"value":6157836800},{"value":5234805920},{"value":5234528256}],"flavor":"ARM_THREAD_STATE64","lr":{"value":4315372232},"cpsr":{"value":536875008},"fp":{"value":6157837648},"sp":{"value":6149504992},"esr":{"value":2449473607,"description":"(Data Abort) byte write Translation fault"},"pc":{"value":4315372172,"matchesCrashFrame":1},"far":{"value":6149505016}},"queue":"com.apple.main-thread","frames":[{"imageOffset":6363788,"symbol":"camlStdlib__list__map_236","symbolLocation":4,"imageIndex":0},{"imageOffset":6363848,"symbol":"camlStdlib__list__map_236","symbolLocation":64,"imageIndex":0},{"imageOffset":7064928,"symbol":"caml_callback2_exn","symbolLocation":60,"imageIndex":0},{"imageOffset":6801356,"symbol":"fs_callback","symbolLocation":232,"imageIndex":0},{"imageOffset":6848100,"symbol":"uv__work_done","symbolLocation":192,"imageIndex":0},{"imageOffset":6859672,"symbol":"uv__async_io","symbolLocation":260,"imageIndex":0},{"imageOffset":6918680,"symbol":"uv__io_poll","symbolLocation":904,"imageIndex":0},{"imageOffset":6860744,"symbol":"uv_run","symbolLocation":372,"imageIndex":0},{"imageOffset":6749688,"symbol":"uwt_run_loop","symbolLocation":280,"imageIndex":0},{"imageOffset":7110236,"symbol":"caml_c_call","symbolLocation":28,"imageIndex":0},{"imageOffset":756192,"symbol":"camlUwt__run_3961","symbolLocation":304,"imageIndex":0}]},{"id":131241,"frames":[{"imageOffset":21104,"symbol":"__psynch_cvwait","symbolLocation":8,"imageIndex":1},{"imageOffset":30780,"symbol":"_pthread_cond_wait","symbolLocation":1236,"imageIndex":2},{"imageOffset":6747256,"symbol":"caml_condition_wait","symbolLocation":100,"imageIndex":0},{"imageOffset":7110236,"symbol":"caml_c_call","symbolLocation":28,"imageIndex":0},{"imageOffset":7064856,"symbol":"caml_callback_exn","symbolLocation":44,"imageIndex":0},{"imageOffset":6744400,"symbol":"caml_thread_start","symbolLocation":112,"imageIndex":0},{"imageOffset":29292,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":2},{"imageOffset":8332,"symbol":"thread_start","symbolLocation":8,"imageIndex":2}]},{"id":131242,"frames":[{"imageOffset":50584,"symbol":"__select","symbolLocation":8,"imageIndex":1},{"imageOffset":6744516,"symbol":"caml_thread_tick","symbolLocation":88,"imageIndex":0},{"imageOffset":29292,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":2},{"imageOffset":8332,"symbol":"thread_start","symbolLocation":8,"imageIndex":2}]},{"id":131243,"frames":[{"imageOffset":21104,"symbol":"__psynch_cvwait","symbolLocation":8,"imageIndex":1},{"imageOffset":30780,"symbol":"_pthread_cond_wait","symbolLocation":1236,"imageIndex":2},{"imageOffset":6903244,"symbol":"uv_cond_wait","symbolLocation":12,"imageIndex":0},{"imageOffset":6848860,"symbol":"worker","symbolLocation":108,"imageIndex":0},{"imageOffset":29292,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":2},{"imageOffset":8332,"symbol":"thread_start","symbolLocation":8,"imageIndex":2}]},{"id":131244,"frames":[{"imageOffset":21104,"symbol":"__psynch_cvwait","symbolLocation":8,"imageIndex":1},{"imageOffset":30780,"symbol":"_pthread_cond_wait","symbolLocation":1236,"imageIndex":2},{"imageOffset":6903244,"symbol":"uv_cond_wait","symbolLocation":12,"imageIndex":0},{"imageOffset":6848860,"symbol":"worker","symbolLocation":108,"imageIndex":0},{"imageOffset":29292,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":2},{"imageOffset":8332,"symbol":"thread_start","symbolLocation":8,"imageIndex":2}]},{"id":131245,"frames":[{"imageOffset":21104,"symbol":"__psynch_cvwait","symbolLocation":8,"imageIndex":1},{"imageOffset":30780,"symbol":"_pthread_cond_wait","symbolLocation":1236,"imageIndex":2},{"imageOffset":6903244,"symbol":"uv_cond_wait","symbolLocation":12,"imageIndex":0},{"imageOffset":6848860,"symbol":"worker","symbolLocation":108,"imageIndex":0},{"imageOffset":29292,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":2},{"imageOffset":8332,"symbol":"thread_start","symbolLocation":8,"imageIndex":2}]},{"id":131246,"frames":[{"imageOffset":21104,"symbol":"__psynch_cvwait","symbolLocation":8,"imageIndex":1},{"imageOffset":30780,"symbol":"_pthread_cond_wait","symbolLocation":1236,"imageIndex":2},{"imageOffset":6903244,"symbol":"uv_cond_wait","symbolLocation":12,"imageIndex":0},{"imageOffset":6848860,"symbol":"worker","symbolLocation":108,"imageIndex":0},{"imageOffset":29292,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":2},{"imageOffset":8332,"symbol":"thread_start","symbolLocation":8,"imageIndex":2}]}],
  "usedImages" : [
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4309008384,
    "size" : 8241152,
    "uuid" : "2fdcfba6-a0cb-3df1-a561-58b36b92bc6f",
    "path" : "\/Applications\/Docker.app\/Contents\/Resources\/bin\/com.docker.vpnkit",
    "name" : "com.docker.vpnkit"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 6705008640,
    "size" : 229376,
    "uuid" : "03f48dc5-caa7-3678-af61-1a3c7fa8b06e",
    "path" : "\/usr\/lib\/system\/libsystem_kernel.dylib",
    "name" : "libsystem_kernel.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 6705238016,
    "size" : 53248,
    "uuid" : "42166a2c-89a9-3c38-a215-f028544cea23",
    "path" : "\/usr\/lib\/system\/libsystem_pthread.dylib",
    "name" : "libsystem_pthread.dylib"
  },
  {
    "size" : 0,
    "source" : "A",
    "base" : 0,
    "uuid" : "00000000-0000-0000-0000-000000000000"
  }
],
  "sharedCache" : {
  "base" : 6701940736,
  "size" : 3136077824,
  "uuid" : "513553bb-5ca5-3b9e-a613-b0603ffe3038"
},
  "vmSummary" : "ReadOnly portion of Libraries: Total=595.8M resident=0K(0%) swapped_out_or_unallocated=595.8M(100%)\nWritable regions: Total=1.7G written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=1.7G(100%)\n\n                                VIRTUAL   REGION \nREGION TYPE                        SIZE    COUNT (non-coalesced) \n===========                     =======  ======= \nKernel Alloc Once                   32K        1 \nMALLOC                           300.0M       37 \nMALLOC guard page                   96K        5 \nMALLOC_MEDIUM (reserved)           1.0G        9         reserved VM address space (unallocated)\nMALLOC_NANO (reserved)           384.0M        1         reserved VM address space (unallocated)\nSTACK GUARD                       56.1M        7 \nStack                             41.1M        7 \n__AUTH                              46K       11 \n__AUTH_CONST                        67K       38 \n__DATA                            6645K       38 \n__DATA_CONST                       258K       40 \n__DATA_DIRTY                        73K       21 \n__LINKEDIT                       583.3M        3 \n__OBJC_CONST                        10K        5 \n__OBJC_RO                         83.0M        1 \n__OBJC_RW                         3152K        1 \n__TEXT                            12.4M       43 \ndyld private memory               1024K        1 \nshared memory                       32K        2 \n===========                     =======  ======= \nTOTAL                              2.5G      271 \nTOTAL, minus reserved VM space     1.1G      271 \n",
  "legacyInfo" : {
  "threadTriggered" : {
    "queue" : "com.apple.main-thread"
  }
},
  "trialInfo" : {
  "rollouts" : [
    {
      "rolloutId" : "61af99aeda72d16a4beb7756",
      "factorPackIds" : {

      },
      "deploymentId" : 240000227
    },
    {
      "rolloutId" : "5fb4245a1bbfe8005e33a1e1",
      "factorPackIds" : {

      },
      "deploymentId" : 240000015
    }
  ],
  "experiments" : [

  ]
}
}

- Is it reproducible? Yes, on every launch - Is the problem new? Only installed Docker for the first time on mac yesterday, so it's new for me. - Did the problem appear with an update? Installed latest version directly. - macOS Version: 12.4 - Intel chip or Apple chip: M1 max - Docker Desktop Version: 4.9.1 ### Output of `/Applications/Docker.app/Contents/MacOS/com.docker.diagnose check`

com.docker.diagnose check

Starting diagnostics

[PASS] DD0027: is there available disk space on the host?
[PASS] DD0028: is there available VM disk space?
[FAIL] DD0031: does the Docker API work? Cannot connect to the Docker daemon at unix://Library/Containers/com.docker.docker/Data/docker.raw.sock. Is the docker daemon running?
[FAIL] DD0004: is the Docker engine running? Get "http://ipc/docker": dial unix Library/Containers/com.docker.docker/Data/lifecycle-server.sock: connect: no such file or directory
[2022-06-29T07:50:51.291353000Z][com.docker.diagnose][I] ipc.NewClient: 43277b9c-com.docker.diagnose -> Library/Containers/com.docker.docker/Data/lifecycle-server.sock VMDockerdAPI
[linuxkit/pkg/desktop-host-tools/pkg/client.NewClientForPath(...)
[   linuxkit/pkg/desktop-host-tools/pkg/client/client.go:59
[linuxkit/pkg/desktop-host-tools/pkg/client.NewClient({0x1049c5bb6, 0x13})
[   linuxkit/pkg/desktop-host-tools/pkg/client/client.go:53 +0xb0
[common/pkg/diagkit/gather/diagnose.isDockerEngineRunning()
[   common/pkg/diagkit/gather/diagnose/dockerd.go:21 +0x2c
[common/pkg/diagkit/gather/diagnose.(*test).GetResult(0x1050a3f80)
[   common/pkg/diagkit/gather/diagnose/test.go:46 +0x44
[common/pkg/diagkit/gather/diagnose.Run.func1(0x1050a3f80)
[   common/pkg/diagkit/gather/diagnose/run.go:17 +0x44
[common/pkg/diagkit/gather/diagnose.walkOnce.func1(0x1050a4080?, 0x1050a3f80)
[   common/pkg/diagkit/gather/diagnose/run.go:140 +0x84
[common/pkg/diagkit/gather/diagnose.walkDepthFirst(0x2, 0x1050a3f80, 0x140003df728)
[   common/pkg/diagkit/gather/diagnose/run.go:146 +0x3c
[common/pkg/diagkit/gather/diagnose.walkDepthFirst(0x1, 0x1050a4080?, 0x140003df728)
[   common/pkg/diagkit/gather/diagnose/run.go:149 +0x78
[common/pkg/diagkit/gather/diagnose.walkDepthFirst(0x0, 0x20?, 0x140003df728)
[   common/pkg/diagkit/gather/diagnose/run.go:149 +0x78
[common/pkg/diagkit/gather/diagnose.walkOnce(0x104b844e0?, 0x140003df890)
[   common/pkg/diagkit/gather/diagnose/run.go:135 +0x8c
[common/pkg/diagkit/gather/diagnose.Run(0x1050a4300, 0x10444ddf0?, {0x140003dfb08, 0x1, 0x1})
[   common/pkg/diagkit/gather/diagnose/run.go:16 +0x178
[main.checkCmd({0x140001ae010?, 0x6?, 0x4?}, {0x0, 0x0})
[   common/cmd/com.docker.diagnose/main.go:132 +0xe0
[main.main()
[   common/cmd/com.docker.diagnose/main.go:98 +0x308
[2022-06-29T07:50:51.295661000Z][com.docker.diagnose][I] (c63c6864) 43277b9c-com.docker.diagnose C->S VMDockerdAPI GET /docker
[2022-06-29T07:50:51.296064000Z][com.docker.diagnose][W] (c63c6864) 43277b9c-com.docker.diagnose C<-S NoResponse GET /docker (399.583µs): Get "http://ipc/docker": dial unix Library/Containers/com.docker.docker/Data/lifecycle-server.sock: connect: no such file or directory
[2022-06-29T07:50:51.296607000Z][com.docker.diagnose][I] (c63c6864-1) 43277b9c-com.docker.diagnose C->S VMDockerdAPI GET /ping
[2022-06-29T07:50:51.296879000Z][com.docker.diagnose][W] (c63c6864-1) 43277b9c-com.docker.diagnose C<-S NoResponse GET /ping (270.667µs): Get "http://ipc/ping": dial unix Library/Containers/com.docker.docker/Data/lifecycle-server.sock: connect: no such file or directory
[2022-06-29T07:50:52.297588000Z][com.docker.diagnose][I] (c63c6864-2) 43277b9c-com.docker.diagnose C->S VMDockerdAPI GET /ping
[2022-06-29T07:50:52.301061000Z][com.docker.diagnose][W] (c63c6864-2) 43277b9c-com.docker.diagnose C<-S NoResponse GET /ping (3.355917ms): Get "http://ipc/ping": dial unix Library/Containers/com.docker.docker/Data/lifecycle-server.sock: connect: no such file or directory
[2022-06-29T07:50:53.303121000Z][com.docker.diagnose][I] (c63c6864-3) 43277b9c-com.docker.diagnose C->S VMDockerdAPI GET /ping
[2022-06-29T07:50:53.306362000Z][com.docker.diagnose][W] (c63c6864-3) 43277b9c-com.docker.diagnose C<-S NoResponse GET /ping (3.198ms): Get "http://ipc/ping": dial unix Library/Containers/com.docker.docker/Data/lifecycle-server.sock: connect: no such file or directory
[2022-06-29T07:50:54.309040000Z][com.docker.diagnose][I] (c63c6864-4) 43277b9c-com.docker.diagnose C->S VMDockerdAPI GET /ping
[2022-06-29T07:50:54.312135000Z][com.docker.diagnose][W] (c63c6864-4) 43277b9c-com.docker.diagnose C<-S NoResponse GET /ping (3.047958ms): Get "http://ipc/ping": dial unix Library/Containers/com.docker.docker/Data/lifecycle-server.sock: connect: no such file or directory
[2022-06-29T07:50:55.313802000Z][com.docker.diagnose][I] (c63c6864-5) 43277b9c-com.docker.diagnose C->S VMDockerdAPI GET /ping
[2022-06-29T07:50:55.316870000Z][com.docker.diagnose][W] (c63c6864-5) 43277b9c-com.docker.diagnose C<-S NoResponse GET /ping (3.058291ms): Get "http://ipc/ping": dial unix Library/Containers/com.docker.docker/Data/lifecycle-server.sock: connect: no such file or directory
[2022-06-29T07:50:56.319119000Z][com.docker.diagnose][I] (c63c6864-6) 43277b9c-com.docker.diagnose C->S VMDockerdAPI GET /ping
[2022-06-29T07:50:56.322007000Z][com.docker.diagnose][W] (c63c6864-6) 43277b9c-com.docker.diagnose C<-S NoResponse GET /ping (2.889959ms): Get "http://ipc/ping": dial unix Library/Containers/com.docker.docker/Data/lifecycle-server.sock: connect: no such file or directory
[2022-06-29T07:50:57.322748000Z][com.docker.diagnose][I] (c63c6864-7) 43277b9c-com.docker.diagnose C->S VMDockerdAPI GET /ping
[2022-06-29T07:50:57.323325000Z][com.docker.diagnose][W] (c63c6864-7) 43277b9c-com.docker.diagnose C<-S NoResponse GET /ping (586.333µs): Get "http://ipc/ping": dial unix Library/Containers/com.docker.docker/Data/lifecycle-server.sock: connect: no such file or directory
[2022-06-29T07:50:58.324237000Z][com.docker.diagnose][I] (c63c6864-8) 43277b9c-com.docker.diagnose C->S VMDockerdAPI GET /ping
[2022-06-29T07:50:58.324859000Z][com.docker.diagnose][W] (c63c6864-8) 43277b9c-com.docker.diagnose C<-S NoResponse GET /ping (610.833µs): Get "http://ipc/ping": dial unix Library/Containers/com.docker.docker/Data/lifecycle-server.sock: connect: no such file or directory

[FAIL] DD0011: are the LinuxKit services running? failed to ping VM diagnosticsd with error: Get "http://ipc/ping": dial unix Library/Containers/com.docker.docker/Data/diagnosticd.sock: connect: no such file or directory
[2022-06-29T07:50:58.325827000Z][com.docker.diagnose][I] ipc.NewClient: e9ca5631-diagnose -> Library/Containers/com.docker.docker/Data/diagnosticd.sock diagnosticsd
[common/pkg/diagkit/gather/diagnose.glob..func12()
[   common/pkg/diagkit/gather/diagnose/linuxkit.go:18 +0x9c
[common/pkg/diagkit/gather/diagnose.(*test).GetResult(0x1050a3f00)
[   common/pkg/diagkit/gather/diagnose/test.go:46 +0x44
[common/pkg/diagkit/gather/diagnose.Run.func1(0x1050a3f00)
[   common/pkg/diagkit/gather/diagnose/run.go:17 +0x44
[common/pkg/diagkit/gather/diagnose.walkOnce.func1(0x1050a3f80?, 0x1050a3f00)
[   common/pkg/diagkit/gather/diagnose/run.go:140 +0x84
[common/pkg/diagkit/gather/diagnose.walkDepthFirst(0x3, 0x1050a3f00, 0x1400065f728)
[   common/pkg/diagkit/gather/diagnose/run.go:146 +0x3c
[common/pkg/diagkit/gather/diagnose.walkDepthFirst(0x2, 0x1050a3f80?, 0x1400065f728)
[   common/pkg/diagkit/gather/diagnose/run.go:149 +0x78
[common/pkg/diagkit/gather/diagnose.walkDepthFirst(0x1, 0x1050a4080?, 0x1400065f728)
[   common/pkg/diagkit/gather/diagnose/run.go:149 +0x78
[common/pkg/diagkit/gather/diagnose.walkDepthFirst(0x0, 0x20?, 0x1400065f728)
[   common/pkg/diagkit/gather/diagnose/run.go:149 +0x78
[common/pkg/diagkit/gather/diagnose.walkOnce(0x104b844e0?, 0x140003df890)
[   common/pkg/diagkit/gather/diagnose/run.go:135 +0x8c
[common/pkg/diagkit/gather/diagnose.Run(0x1050a4300, 0x10444ddf0?, {0x140003dfb08, 0x1, 0x1})
[   common/pkg/diagkit/gather/diagnose/run.go:16 +0x178
[main.checkCmd({0x140001ae010?, 0x6?, 0x4?}, {0x0, 0x0})
[   common/cmd/com.docker.diagnose/main.go:132 +0xe0
[main.main()
[   common/cmd/com.docker.diagnose/main.go:98 +0x308
[2022-06-29T07:50:58.328632000Z][com.docker.diagnose][I] (859bb31e) e9ca5631-diagnose C->S diagnosticsd GET /ping
[2022-06-29T07:50:58.328892000Z][com.docker.diagnose][W] (859bb31e) e9ca5631-diagnose C<-S NoResponse GET /ping (259.125µs): Get "http://ipc/ping": dial unix Library/Containers/com.docker.docker/Data/diagnosticd.sock: connect: no such file or directory

[FAIL] DD0016: is the LinuxKit VM running? vm is not running: failed to open kmsg.log: open Library/Containers/com.docker.docker/Data/log/vm/kmsg.log: no such file or directory
[PASS] DD0001: is the application running?
[PASS] DD0018: does the host support virtualization?
[FAIL] DD0017: can a VM be started? vm has not started: failed to open kmsg.log: open Library/Containers/com.docker.docker/Data/log/vm/kmsg.log: no such file or directory
[PASS] DD0015: are the binary symlinks installed?
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
[FAIL] DD0003: is the Docker CLI working? exit status 1
[PASS] DD0013: is the $PATH ok?
[FAIL] DD0007: is the backend responding? failed to ping com.docker.backend with error: Get "http://ipc/ping": dial unix Library/Containers/com.docker.docker/Data/backend.sock: connect: no such file or directory
[2022-06-29T08:05:42.906448000Z][com.docker.diagnose][I] ipc.NewClient: aace5a87-diagnose -> Library/Containers/com.docker.docker/Data/backend.sock BackendAPI
[common/pkg/backend.NewClientForPath({0x1049bcd5f?, 0x140001da0d8?}, {0x14000558080?, 0x104abc7a8?})
[   common/pkg/backend/client.go:164 +0x40
[common/pkg/backend.NewClient({0x1049bcd5f, 0x8})
[   common/pkg/backend/client.go:159 +0x6c
[common/pkg/diagkit/gather/diagnose.glob..func8()
[   common/pkg/diagkit/gather/diagnose/ipc.go:25 +0x2c
[common/pkg/diagkit/gather/diagnose.(*test).GetResult(0x1050a4380)
[   common/pkg/diagkit/gather/diagnose/test.go:46 +0x44
[common/pkg/diagkit/gather/diagnose.Run.func1(0x1050a4380)
[   common/pkg/diagkit/gather/diagnose/run.go:17 +0x44
[common/pkg/diagkit/gather/diagnose.walkOnce.func1(0x2?, 0x1050a4380)
[   common/pkg/diagkit/gather/diagnose/run.go:140 +0x84
[common/pkg/diagkit/gather/diagnose.walkDepthFirst(0x1, 0x1050a4380, 0x1400058d728)
[   common/pkg/diagkit/gather/diagnose/run.go:146 +0x3c
[common/pkg/diagkit/gather/diagnose.walkDepthFirst(0x0, 0x20?, 0x1400058d728)
[   common/pkg/diagkit/gather/diagnose/run.go:149 +0x78
[common/pkg/diagkit/gather/diagnose.walkOnce(0x104b844e0?, 0x140003df890)
[   common/pkg/diagkit/gather/diagnose/run.go:135 +0x8c
[common/pkg/diagkit/gather/diagnose.Run(0x1050a4300, 0x10444ddf0?, {0x140003dfb08, 0x1, 0x1})
[   common/pkg/diagkit/gather/diagnose/run.go:16 +0x178
[main.checkCmd({0x140001ae010?, 0x6?, 0x4?}, {0x0, 0x0})
[   common/cmd/com.docker.diagnose/main.go:132 +0xe0
[main.main()
[   common/cmd/com.docker.diagnose/main.go:98 +0x308

[FAIL] DD0014: are the backend processes running? 5 errors occurred:
    * querying qemu-system-aarch64 process: is it running as a different user?: no such file or directory
    * com.docker.backend is not running
    * vpnkit-bridge is not running
    * com.docker.vpnkit is not running
    * com.docker.driver.amd64-linux is not running

[FAIL] DD0008: is the native API responding? failed to ping tray application with error: Get "http://ipc/ping": dial unix Library/Containers/com.docker.docker/Data/backend.native.sock: connect: connection refused
[2022-06-29T08:05:51.352849000Z][com.docker.diagnose][I] ipc.NewClient: 5b721491-diagnose -> Library/Containers/com.docker.docker/Data/backend.native.sock SwiftAPI
[common/pkg/gui.NewClientForPath({0x1049bcd5f?, 0x2a?}, {0x140001dc900?, 0x1?})
[   common/pkg/gui/client.go:60 +0x40
[common/pkg/gui.NewClient({0x1049bcd5f, 0x8})
[   common/pkg/gui/client.go:47 +0x6c
[common/pkg/diagkit/gather/diagnose.glob..func9()
[   common/pkg/diagkit/gather/diagnose/ipc.go:40 +0x2c
[common/pkg/diagkit/gather/diagnose.(*test).GetResult(0x1050a3d80)
[   common/pkg/diagkit/gather/diagnose/test.go:46 +0x44
[common/pkg/diagkit/gather/diagnose.Run.func1(0x1050a3d80)
[   common/pkg/diagkit/gather/diagnose/run.go:17 +0x44
[common/pkg/diagkit/gather/diagnose.walkOnce.func1(0x2?, 0x1050a3d80)
[   common/pkg/diagkit/gather/diagnose/run.go:140 +0x84
[common/pkg/diagkit/gather/diagnose.walkDepthFirst(0x1, 0x1050a3d80, 0x1400058d728)
[   common/pkg/diagkit/gather/diagnose/run.go:146 +0x3c
[common/pkg/diagkit/gather/diagnose.walkDepthFirst(0x0, 0x20?, 0x1400058d728)
[   common/pkg/diagkit/gather/diagnose/run.go:149 +0x78
[common/pkg/diagkit/gather/diagnose.walkOnce(0x104b844e0?, 0x140003df890)
[   common/pkg/diagkit/gather/diagnose/run.go:135 +0x8c
[common/pkg/diagkit/gather/diagnose.Run(0x1050a4300, 0x10444ddf0?, {0x140003dfb08, 0x1, 0x1})
[   common/pkg/diagkit/gather/diagnose/run.go:16 +0x178
[main.checkCmd({0x140001ae010?, 0x6?, 0x4?}, {0x0, 0x0})
[   common/cmd/com.docker.diagnose/main.go:132 +0xe0
[main.main()
[   common/cmd/com.docker.diagnose/main.go:98 +0x308
[2022-06-29T08:05:51.355709000Z][com.docker.diagnose][I] (5f1f285a) 5b721491-diagnose C->S SwiftAPI GET /ping
[2022-06-29T08:05:51.356027000Z][com.docker.diagnose][W] (5f1f285a) 5b721491-diagnose C<-S NoResponse GET /ping (315.459µs): Get "http://ipc/ping": dial unix Library/Containers/com.docker.docker/Data/backend.native.sock: connect: connection refused
[2022-06-29T08:05:51.356516000Z][com.docker.diagnose][I] (5f1f285a-1) 5b721491-diagnose C->S SwiftAPI GET /ping
[2022-06-29T08:05:51.356766000Z][com.docker.diagnose][W] (5f1f285a-1) 5b721491-diagnose C<-S NoResponse GET /ping (248.542µs): Get "http://ipc/ping": dial unix Library/Containers/com.docker.docker/Data/backend.native.sock: connect: connection refused
[2022-06-29T08:05:52.357378000Z][com.docker.diagnose][I] (5f1f285a-2) 5b721491-diagnose C->S SwiftAPI GET /ping
[2022-06-29T08:05:52.359310000Z][com.docker.diagnose][W] (5f1f285a-2) 5b721491-diagnose C<-S NoResponse GET /ping (1.923125ms): Get "http://ipc/ping": dial unix Library/Containers/com.docker.docker/Data/backend.native.sock: connect: connection refused
[2022-06-29T08:05:53.362237000Z][com.docker.diagnose][I] (5f1f285a-3) 5b721491-diagnose C->S SwiftAPI GET /ping
[2022-06-29T08:05:53.365341000Z][com.docker.diagnose][W] (5f1f285a-3) 5b721491-diagnose C<-S NoResponse GET /ping (3.084166ms): Get "http://ipc/ping": dial unix Library/Containers/com.docker.docker/Data/backend.native.sock: connect: connection refused
[2022-06-29T08:05:54.368034000Z][com.docker.diagnose][I] (5f1f285a-4) 5b721491-diagnose C->S SwiftAPI GET /ping
[2022-06-29T08:05:54.370676000Z][com.docker.diagnose][W] (5f1f285a-4) 5b721491-diagnose C<-S NoResponse GET /ping (2.637084ms): Get "http://ipc/ping": dial unix Library/Containers/com.docker.docker/Data/backend.native.sock: connect: connection refused
[2022-06-29T08:05:55.372733000Z][com.docker.diagnose][I] (5f1f285a-5) 5b721491-diagnose C->S SwiftAPI GET /ping
[2022-06-29T08:05:55.375687000Z][com.docker.diagnose][W] (5f1f285a-5) 5b721491-diagnose C<-S NoResponse GET /ping (2.947125ms): Get "http://ipc/ping": dial unix Library/Containers/com.docker.docker/Data/backend.native.sock: connect: connection refused
[2022-06-29T08:05:56.377670000Z][com.docker.diagnose][I] (5f1f285a-6) 5b721491-diagnose C->S SwiftAPI GET /ping
[2022-06-29T08:05:56.380652000Z][com.docker.diagnose][W] (5f1f285a-6) 5b721491-diagnose C<-S NoResponse GET /ping (2.966625ms): Get "http://ipc/ping": dial unix Library/Containers/com.docker.docker/Data/backend.native.sock: connect: connection refused
[2022-06-29T08:05:57.383415000Z][com.docker.diagnose][I] (5f1f285a-7) 5b721491-diagnose C->S SwiftAPI GET /ping
[2022-06-29T08:05:57.386341000Z][com.docker.diagnose][W] (5f1f285a-7) 5b721491-diagnose C<-S NoResponse GET /ping (2.916625ms): Get "http://ipc/ping": dial unix Library/Containers/com.docker.docker/Data/backend.native.sock: connect: connection refused
[2022-06-29T08:05:58.388682000Z][com.docker.diagnose][I] (5f1f285a-8) 5b721491-diagnose C->S SwiftAPI GET /ping
[2022-06-29T08:05:58.391648000Z][com.docker.diagnose][W] (5f1f285a-8) 5b721491-diagnose C<-S NoResponse GET /ping (2.968041ms): Get "http://ipc/ping": dial unix Library/Containers/com.docker.docker/Data/backend.native.sock: connect: connection refused

[FAIL] DD0009: is the vpnkit API responding? dial unix Library/Containers/com.docker.docker/Data/vpnkit.diag.sock: connect: connection refused
[FAIL] DD0010: is the Docker API proxy responding? failed to ping Docker proxy API with error: Get "http://ipc/desktop-diagnostics/ping": dial unix /Users/user/.docker/run/docker.sock: connect: no such file or directory
[2022-06-29T08:05:58.394403000Z][com.docker.diagnose][I] ipc.NewClient: b1efdd85-diagnose -> /.docker/run/docker.sock Proxy
[common/pkg/diagkit/gather/diagnose.glob..func11()
[   common/pkg/diagkit/gather/diagnose/ipc.go:91 +0x7c
[common/pkg/diagkit/gather/diagnose.(*test).GetResult(0x1050a4480)
[   common/pkg/diagkit/gather/diagnose/test.go:46 +0x44
[common/pkg/diagkit/gather/diagnose.Run.func1(0x1050a4480)
[   common/pkg/diagkit/gather/diagnose/run.go:17 +0x44
[common/pkg/diagkit/gather/diagnose.walkOnce.func1(0x2?, 0x1050a4480)
[   common/pkg/diagkit/gather/diagnose/run.go:140 +0x84
[common/pkg/diagkit/gather/diagnose.walkDepthFirst(0x1, 0x1050a4480, 0x1400058d728)
[   common/pkg/diagkit/gather/diagnose/run.go:146 +0x3c
[common/pkg/diagkit/gather/diagnose.walkDepthFirst(0x0, 0x20?, 0x1400058d728)
[   common/pkg/diagkit/gather/diagnose/run.go:149 +0x78
[common/pkg/diagkit/gather/diagnose.walkOnce(0x104b844e0?, 0x140003df890)
[   common/pkg/diagkit/gather/diagnose/run.go:135 +0x8c
[common/pkg/diagkit/gather/diagnose.Run(0x1050a4300, 0x10444ddf0?, {0x140003dfb08, 0x1, 0x1})
[   common/pkg/diagkit/gather/diagnose/run.go:16 +0x178
[main.checkCmd({0x140001ae010?, 0x6?, 0x4?}, {0x0, 0x0})
[   common/cmd/com.docker.diagnose/main.go:132 +0xe0
[main.main()
[   common/cmd/com.docker.diagnose/main.go:98 +0x308
[2022-06-29T08:05:58.396799000Z][com.docker.diagnose][I] (28d5d52b) b1efdd85-diagnose C->S Proxy GET /desktop-diagnostics/ping
[2022-06-29T08:05:58.397211000Z][com.docker.diagnose][W] (28d5d52b) b1efdd85-diagnose C<-S NoResponse GET /desktop-diagnostics/ping (394.708µs): Get "http://ipc/desktop-diagnostics/ping": dial unix /.docker/run/docker.sock: connect: no such file or directory
[2022-06-29T08:05:58.397835000Z][com.docker.diagnose][I] (28d5d52b-1) b1efdd85-diagnose C->S Proxy GET /ping
[2022-06-29T08:05:58.398107000Z][com.docker.diagnose][W] (28d5d52b-1) b1efdd85-diagnose C<-S NoResponse GET /ping (271.125µs): Get "http://ipc/ping": dial unix /.docker/run/docker.sock: connect: no such file or directory
[2022-06-29T08:05:59.399420000Z][com.docker.diagnose][I] (28d5d52b-2) b1efdd85-diagnose C->S Proxy GET /ping
[2022-06-29T08:05:59.402374000Z][com.docker.diagnose][W] (28d5d52b-2) b1efdd85-diagnose C<-S NoResponse GET /ping (2.940209ms): Get "http://ipc/ping": dial unix /.docker/run/docker.sock: connect: no such file or directory
[2022-06-29T08:06:00.406388000Z][com.docker.diagnose][I] (28d5d52b-3) b1efdd85-diagnose C->S Proxy GET /ping
[2022-06-29T08:06:00.409071000Z][com.docker.diagnose][W] (28d5d52b-3) b1efdd85-diagnose C<-S NoResponse GET /ping (2.671458ms): Get "http://ipc/ping": dial unix /.docker/run/docker.sock: connect: no such file or directory
[2022-06-29T08:06:01.411555000Z][com.docker.diagnose][I] (28d5d52b-4) b1efdd85-diagnose C->S Proxy GET /ping
[2022-06-29T08:06:01.416330000Z][com.docker.diagnose][W] (28d5d52b-4) b1efdd85-diagnose C<-S NoResponse GET /ping (4.856833ms): Get "http://ipc/ping": dial unix /.docker/run/docker.sock: connect: no such file or directory
[2022-06-29T08:06:02.418307000Z][com.docker.diagnose][I] (28d5d52b-5) b1efdd85-diagnose C->S Proxy GET /ping
[2022-06-29T08:06:02.421258000Z][com.docker.diagnose][W] (28d5d52b-5) b1efdd85-diagnose C<-S NoResponse GET /ping (2.973791ms): Get "http://ipc/ping": dial unix /.docker/run/docker.sock: connect: no such file or directory
[2022-06-29T08:06:03.423067000Z][com.docker.diagnose][I] (28d5d52b-6) b1efdd85-diagnose C->S Proxy GET /ping
[2022-06-29T08:06:03.425663000Z][com.docker.diagnose][W] (28d5d52b-6) b1efdd85-diagnose C<-S NoResponse GET /ping (2.586083ms): Get "http://ipc/ping": dial unix /.docker/run/docker.sock: connect: no such file or directory
[2022-06-29T08:06:04.427734000Z][com.docker.diagnose][I] (28d5d52b-7) b1efdd85-diagnose C->S Proxy GET /ping
[2022-06-29T08:06:04.430502000Z][com.docker.diagnose][W] (28d5d52b-7) b1efdd85-diagnose C<-S NoResponse GET /ping (2.767125ms): Get "http://ipc/ping": dial unix /.docker/run/docker.sock: connect: no such file or directory
[2022-06-29T08:06:05.432586000Z][com.docker.diagnose][I] (28d5d52b-8) b1efdd85-diagnose C->S Proxy GET /ping
[2022-06-29T08:06:05.435762000Z][com.docker.diagnose][W] (28d5d52b-8) b1efdd85-diagnose C<-S NoResponse GET /ping (3.165208ms): Get "http://ipc/ping": dial unix /.docker/run/docker.sock: connect: no such file or directory

[FAIL] DD0012: is the VM networking working? network checks failed: Post "http://ipc/check-network-connectivity": dial unix Library/Containers/com.docker.docker/Data/diagnosticd.sock: connect: no such file or directory
[2022-06-29T08:06:05.438025000Z][com.docker.diagnose][I] ipc.NewClient: 06509a95-diagnose-network -> Library/Containers/com.docker.docker/Data/diagnosticd.sock diagnosticsd
[common/pkg/diagkit/gather/diagnose.runIsVMNetworkingOK()
[   common/pkg/diagkit/gather/diagnose/network.go:34 +0xd4
[common/pkg/diagkit/gather/diagnose.(*test).GetResult(0x1050a4180)
[   common/pkg/diagkit/gather/diagnose/test.go:46 +0x44
[common/pkg/diagkit/gather/diagnose.Run.func1(0x1050a4180)
[   common/pkg/diagkit/gather/diagnose/run.go:17 +0x44
[common/pkg/diagkit/gather/diagnose.walkOnce.func1(0x2?, 0x1050a4180)
[   common/pkg/diagkit/gather/diagnose/run.go:140 +0x84
[common/pkg/diagkit/gather/diagnose.walkDepthFirst(0x1, 0x1050a4180, 0x1400058d728)
[   common/pkg/diagkit/gather/diagnose/run.go:146 +0x3c
[common/pkg/diagkit/gather/diagnose.walkDepthFirst(0x0, 0x20?, 0x1400058d728)
[   common/pkg/diagkit/gather/diagnose/run.go:149 +0x78
[common/pkg/diagkit/gather/diagnose.walkOnce(0x104b844e0?, 0x140003df890)
[   common/pkg/diagkit/gather/diagnose/run.go:135 +0x8c
[common/pkg/diagkit/gather/diagnose.Run(0x1050a4300, 0x10444ddf0?, {0x140003dfb08, 0x1, 0x1})
[   common/pkg/diagkit/gather/diagnose/run.go:16 +0x178
[main.checkCmd({0x140001ae010?, 0x6?, 0x4?}, {0x0, 0x0})
[   common/cmd/com.docker.diagnose/main.go:132 +0xe0
[main.main()
[   common/cmd/com.docker.diagnose/main.go:98 +0x308
[2022-06-29T08:06:05.440552000Z][com.docker.diagnose][I] (073c0410) 06509a95-diagnose-network C->S diagnosticsd POST /check-network-connectivity: {"ips":["192.168.1.27","172.16.41.40"]}
[2022-06-29T08:06:05.441118000Z][com.docker.diagnose][W] (073c0410) 06509a95-diagnose-network C<-S NoResponse POST /check-network-connectivity (626.875µs): Post "http://ipc/check-network-connectivity": dial unix Library/Containers/com.docker.docker/Data/diagnosticd.sock: connect: no such file or directory
[2022-06-29T08:06:05.441720000Z][com.docker.diagnose][I] (073c0410-1) 06509a95-diagnose-network C->S diagnosticsd GET /ping
[2022-06-29T08:06:05.442002000Z][com.docker.diagnose][W] (073c0410-1) 06509a95-diagnose-network C<-S NoResponse GET /ping (281.041µs): Get "http://ipc/ping": dial unix Library/Containers/com.docker.docker/Data/diagnosticd.sock: connect: no such file or directory
[2022-06-29T08:06:06.443552000Z][com.docker.diagnose][I] (073c0410-2) 06509a95-diagnose-network C->S diagnosticsd GET /ping
[2022-06-29T08:06:06.445904000Z][com.docker.diagnose][W] (073c0410-2) 06509a95-diagnose-network C<-S NoResponse GET /ping (2.342833ms): Get "http://ipc/ping": dial unix Library/Containers/com.docker.docker/Data/diagnosticd.sock: connect: no such file or directory
[2022-06-29T08:06:07.447812000Z][com.docker.diagnose][I] (073c0410-3) 06509a95-diagnose-network C->S diagnosticsd GET /ping
[2022-06-29T08:06:07.449280000Z][com.docker.diagnose][W] (073c0410-3) 06509a95-diagnose-network C<-S NoResponse GET /ping (1.462708ms): Get "http://ipc/ping": dial unix Library/Containers/com.docker.docker/Data/diagnosticd.sock: connect: no such file or directory
[2022-06-29T08:06:08.451155000Z][com.docker.diagnose][I] (073c0410-4) 06509a95-diagnose-network C->S diagnosticsd GET /ping
[2022-06-29T08:06:08.452314000Z][com.docker.diagnose][W] (073c0410-4) 06509a95-diagnose-network C<-S NoResponse GET /ping (1.154125ms): Get "http://ipc/ping": dial unix Library/Containers/com.docker.docker/Data/diagnosticd.sock: connect: no such file or directory
[2022-06-29T08:06:09.454383000Z][com.docker.diagnose][I] (073c0410-5) 06509a95-diagnose-network C->S diagnosticsd GET /ping
[2022-06-29T08:06:09.455875000Z][com.docker.diagnose][W] (073c0410-5) 06509a95-diagnose-network C<-S NoResponse GET /ping (1.48475ms): Get "http://ipc/ping": dial unix Library/Containers/com.docker.docker/Data/diagnosticd.sock: connect: no such file or directory
[2022-06-29T08:06:10.458493000Z][com.docker.diagnose][I] (073c0410-6) 06509a95-diagnose-network C->S diagnosticsd GET /ping
[2022-06-29T08:06:10.469295000Z][com.docker.diagnose][W] (073c0410-6) 06509a95-diagnose-network C<-S NoResponse GET /ping (10.792042ms): Get "http://ipc/ping": dial unix Library/Containers/com.docker.docker/Data/diagnosticd.sock: connect: no such file or directory
[2022-06-29T08:06:11.491633000Z][com.docker.diagnose][I] (073c0410-7) 06509a95-diagnose-network C->S diagnosticsd GET /ping
[2022-06-29T08:06:11.493571000Z][com.docker.diagnose][W] (073c0410-7) 06509a95-diagnose-network C<-S NoResponse GET /ping (1.926834ms): Get "http://ipc/ping": dial unix Library/Containers/com.docker.docker/Data/diagnosticd.sock: connect: no such file or directory
[2022-06-29T08:06:12.495551000Z][com.docker.diagnose][I] (073c0410-8) 06509a95-diagnose-network C->S diagnosticsd GET /ping
[2022-06-29T08:06:12.496972000Z][com.docker.diagnose][W] (073c0410-8) 06509a95-diagnose-network C<-S NoResponse GET /ping (1.4655ms): Get "http://ipc/ping": dial unix Library/Containers/com.docker.docker/Data/diagnosticd.sock: connect: no such file or directory

[FAIL] DD0032: do Docker networks overlap with host IPs? Cannot connect to the Docker daemon at unix://Library/Containers/com.docker.docker/Data/docker.raw.sock. Is the docker daemon running?
[SKIP] DD0030: is the image access management authorized?
[PASS] DD0019: is the com.docker.vmnetd process responding?
[PASS] DD0033: does the host have Internet access?
segment 2022/06/29 10:06:13 ERROR: sending request - Post "https://api.segment.io/v1/batch": dial tcp 0.0.0.0:443: connect: connection refused
segment 2022/06/29 10:06:13 ERROR: 1 messages dropped because they failed to be sent and the client was closed

Please investigate the following 2 issues:

1 : The test: is the native API responding?
    Failed with: failed to ping tray application with error: Get "http://ipc/ping": dial unix Library/Containers/com.docker.docker/Data/backend.native.sock: connect: connection refused

The native API server is needed to start Docker engine.

2 : The test: can a VM be started?
    Failed with: vm has not started: failed to open kmsg.log: open Library/Containers/com.docker.docker/Data/log/vm/kmsg.log: no such file or directory

The Docker engine runs inside a Linux VM. Therefore we must be able to start Virtual Machines.

### Steps to reproduce the behavior 1. Install docker for apple silicon 2. run Docker.app
tdkt commented 2 years ago

If I understand this crash report correctly, vpnkit is overflowing it's stack, hence the STACK GUARD.

mhemani-reach commented 2 years ago

I was experiencing similar issues, and it turned out that Docker didn't like my hosts file

tdkt commented 2 years ago

That is very possible. I had a modified hosts file with spam filter, so it was quite big. Possible that a bug in vpnkit causes a stack overflow when the hosts file is big?

mhemani-reach commented 2 years ago

Yes possibly. Have you tried reverting your hosts file to the system default one, and then running docker?

tdkt commented 2 years ago

I didn't think that was it and reformat the pc... But I could temporarily make a big hosts file again to test if that was it.

mhemani-reach commented 2 years ago

The one I had was 346647 lines, or just under 10MB

docker-robott commented 2 years ago

Issues go stale after 90 days of inactivity. Mark the issue as fresh with /remove-lifecycle stale comment. Stale issues will be closed after an additional 30 days of inactivity.

Prevent issues from auto-closing with an /lifecycle frozen comment.

If this issue is safe to close now please do so.

Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows. /lifecycle stale

tdkt commented 2 years ago

/remove-lifecycle stale

docker-robott commented 1 year ago

There hasn't been any activity on this issue for a long time. If the problem is still relevant, mark the issue as fresh with a /remove-lifecycle stale comment. If not, this issue will be closed in 30 days.

Prevent issues from auto-closing with a /lifecycle frozen comment.

/lifecycle stale

docker-robott commented 1 year ago

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.

/lifecycle locked