Skip to content

Startup crash: cannot remove stale unix socket files after unclean shutdown #554

Closed

Description

@maucorail14

Bug report

Title: Startup crash: cannot remove stale unix socket files (dockerInference, secrets-engine engine.sock) after unclean shutdown — "The file cannot be accessed by the system"

Description

After an unclean shutdown of Docker Desktop (Windows standby while the engine was starting, or force-killing the backend), Docker Desktop permanently crashes at every subsequent startup with:

starting services: initializing Inference manager: listening on
unix://C:\Users\<user>\AppData\Local\Docker\run\dockerInference:
remove C:\Users\<user>\AppData\Local\Docker\run\dockerInference:
The file cannot be accessed by the system.

After working around the first error (see below), it crashes again on the next component:

starting services: initializing Secrets Engine: listening on
unix://C:\Users\<user>\AppData\Local\docker-secrets-engine\engine.sock:
remove C:\Users\<user>\AppData\Local\docker-secrets-engine\engine.sock:
The file cannot be accessed by the system. (listener: The filename,
directory name, or volume label syntax is incorrect.)

The stale AF_UNIX socket files left behind by the killed process cannot be deleted by any
means (del, PowerShell Remove-Item, .NET File.Delete all fail with "The file cannot be
accessed by the system") — not even after a full Windows reboot, which suggests the
reparse points are left in a corrupted state.

Monitor log shows: com.docker.backend.exe services: exit status 150.

Reproduced on

  • Docker Desktop 4.66.1 and 4.83.0 (persists across upgrade)
  • Windows 11 Pro 10.0.26200, WSL2 backend
  • Trigger: system standby or process kill while Docker Desktop is starting/running

Expected behavior

If a stale socket file cannot be removed, Docker Desktop should degrade gracefully
(rename the parent directory, bind to an alternative path, or start without the optional
AI/inference component) instead of hard-crashing the whole application. Note that per
#342, disabling inference via admin-settings.json does not skip Inference manager
initialization, so there is currently no user-side opt-out that avoids the crash.

Workaround found

With Docker Desktop stopped, rename the directories containing the stuck sockets and let
Docker recreate them (deleting the files directly is impossible):

Rename-Item "$env:LOCALAPPDATA\Docker\run" "$env:LOCALAPPDATA\Docker\run.stale"
New-Item -ItemType Directory "$env:LOCALAPPDATA\Docker\run"
Rename-Item "$env:LOCALAPPDATA\docker-secrets-engine" "$env:LOCALAPPDATA\docker-secrets-engine.stale"

Then start Docker Desktop normally. The renamed directories remain undeletable until the
broken reparse points are cleaned up by other means.

Platform

Windows

Version information

Docker Desktop: 4.83.0 (build 234302) — issue first observed on 4.66.1, persists after upgrade to 4.83.0
Docker Engine: 29.6.2 (client and server)
OS: Windows 11 Pro 25H2 (build 10.0.26200)
Backend: WSL2 — WSL 2.6.3.0, kernel 6.6.87.2-1, WSLg 1.0.71
Architecture: x64

Diagnostics ID

22D92D9B-7E5F-43D0-B319-ECF3F1B2EC0A/20260728183747

Activity

  1. added theissue type on Jul 28, 2026
  2. benitoalba commented on Sep 1, 2026

    @benitoalba

    I can still reproduce this on Docker Desktop 4.89.0 (build 238018), whose release notes say this startup failure was fixed.

    Environment:

    • Windows 11 Pro 25H2, build 10.0.26200.9278
    • WSL 2.7.10
    • Docker Engine 29.7.2

    In 4.89.0, Docker now attempts to rename the stuck socket to .stale, but the rename itself fails with Windows error 1920:

    starting services: initializing Ingest server:
    rename C:\Users\<user>\AppData\Local\Docker\run\sailor-ingest.sock
    C:\Users\<user>\AppData\Local\Docker\run\sailor-ingest.sock.stale:
    The file cannot be accessed by the system.
    

    I reproduced this after a graceful docker desktop stop --timeout 30 followed by a normal start, not only after an unclean shutdown.

    Deleting or renaming the individual reparse point still fails. Renaming the entire parent directories and allowing Docker to recreate them remains the reliable workaround:

    %LOCALAPPDATA%\Docker\run
    %LOCALAPPDATA%\docker-secrets-engine
    

    Docker then starts successfully without resetting images, containers, or volumes. This suggests the 4.89.0 per-file rename fallback also needs a parent-directory fallback when Windows returns ERROR_CANT_ACCESS_FILE (1920).

  3. PZY-pzy451 commented on Sep 5, 2026

    @PZY-pzy451

    Additional reproduction on Docker Desktop 4.89.0 (build 238018), affecting
    dockerInference on Windows 11 Home, build 10.0.26200, x64, WSL2 backend.

    We upgraded from 4.85.0 using the official signed x64 installer, after backing up
    the stopped VM disks and settings. Installer SHA256/Authenticode checks passed;
    installation exited 0 and the registry/binary confirm 4.89.0.238018. The existing
    per-user installation location was retained.

    The upgraded backend still crashed at 2026-09-05 15:17:37 UTC. Its new
    rename-aside cleanup fails in the same way as the preceding 4.89.0 report:

    starting services: initializing Inference manager:
    listening on unix://C:/Users/<USER>/AppData/Local/Docker/run/dockerInference:
    rename .../dockerInference .../dockerInference.stale:
    The file cannot be accessed by the system.
    

    A docker info probe explicitly targeting the local
    npipe:////./pipe/dockerDesktopLinuxEngine timed out after 20 seconds. Container
    tests were not run. Official force-stop subsequently exited 0 and a follow-up
    inventory found no Desktop/backend processes.

    Earlier, on 4.85.0, preserving/recreating only Docker/run exposed a second failure
    at docker-secrets-engine/engine.sock. No factory reset, VM/data deletion or WSL
    unregister was performed. We have not validated a successful workaround for both
    endpoints on this host.

    Please advise on a supported recovery that preserves existing VM data and handles
    Windows rejecting the individual socket rename. This may help assess whether the
    4.89.0 fix needs a directory-level fallback for the affected services.

    Diagnostics ID: 21D7457C-5513-4290-9EE0-105D80B81515/20260905152024.
    The existing diagnostic bundle was uploaded with the official
    com.docker.diagnose.exe upload command, which exited 0. The raw archive is not
    attached publicly.

  4. simeonsaaaondonyam100-hub commented on Sep 6, 2026

    @simeonsaaaondonyam100-hub

    Docker Desktop 4.89.0 still fails on Windows build 26200 when renaming orphaned sailor-ingest.sock

    Additional evidence for #554; also related to #531. This report concerns the Ingest server and a failed rename in 4.89.0, whereas those reports describe earlier versions and other listeners. Please advise whether this variant should be tracked separately.

    Summary

    Docker Desktop 4.89.0 build 238018 fails during backend startup when it tries to rename an existing Windows AF_UNIX socket, sailor-ingest.sock, to sailor-ingest.sock.stale. The destination does not exist. Windows returns "The file cannot be accessed by the system." Independent read-only filesystem probes return error 1920 (ERROR_CANT_ACCESS_FILE). Startup terminates approximately two seconds after normal launch, and Docker Engine remains unavailable throughout four minutes of observation.

    The 4.89.0 Windows release notes advertise a fix for startup failures caused by sockets left after ungraceful shutdown. That fix did not resolve this listener in the observed full-shutdown/startup sequence. Whether this is an incomplete fix, a regression, or a distinct Windows interaction requires Docker confirmation.

    Environment

    • Docker Desktop: 4.89.0, build 238018, Windows x64.
    • Last verified running Docker Engine: 29.7.2. The engine cannot currently be queried live.
    • Windows 11 Pro, version 25H2, build 10.0.26200.9168.
    • WSL2 backend; docker-desktop distribution registered as WSL version 2.
    • Docker auto-start disabled before shutdown and still disabled.
    • Normal signed-in Windows user; diagnostic shell was not elevated.
    • Docker had started successfully immediately after the in-place upgrade. Existing local Docker resource identities were verified at that point.

    Observed sequence and reproduction

    This describes the observed affected-machine sequence. It is not a claim that a fresh installation will reproduce the condition, or that the initial socket orphaning mechanism has been proven.

    1. Docker Desktop runs successfully and leaves its AF_UNIX socket in its local runtime directory.
    2. Windows is shut down completely. The operator waits approximately 30 seconds after power-off, powers on, and signs in.
    3. With auto-start disabled, confirm no Docker process is running, the engine does not respond, and the docker-desktop distribution is stopped.
    4. Start installed Docker Desktop 4.89.0 normally through Windows.
    5. During Ingest server initialization, Docker attempts to rename sailor-ingest.sock to sailor-ingest.sock.stale.
    6. Windows returns "The file cannot be accessed by the system."
    7. Docker cancels backend startup, shuts down its engines, and displays its unexpected-error dialog. The engine remains unavailable during four minutes of observation.

    Recorded times (UTC+01:00):

    • Socket creation and last modification: 2026-09-04 12:33:59.4541878.
    • First verified Windows boot: 2026-09-04 14:19:55.
    • Normal Docker launch: 2026-09-04 14:23:08.
    • Backend cancellation: 2026-09-04 14:23:10.8751918 (13:23:10.8751918 UTC).
    • Engines reported shutdown complete: 2026-09-04 14:23:13.1284937.
    • A subsequent boot was recorded at 2026-09-05 15:06:53.5000000. The same socket and timestamps remained, with Docker stopped. The operator reports full shutdown/cold boot; OS boot times corroborate new boot sessions but do not independently prove the physical power-off procedure.

    The condition therefore survived two operator-confirmed full shutdowns and new Windows boot sessions. No additional Docker startup was attempted during the diagnostic or report-preparation tasks.

    Expected behavior

    Docker safely handles the orphaned runtime socket and starts its engine, or provides a supported, narrowly scoped recovery path that preserves containers, images, volumes, networks, and WSL data.

    Actual error

    Only the Windows username has been replaced in this log text:

    starting services: initializing Ingest server: listening on unix://C:/Users/<USER>/AppData/Local/Docker/run/sailor-ingest.sock: rename C:/Users/<USER>/AppData/Local/Docker/run/sailor-ingest.sock C:/Users/<USER>/AppData/Local/Docker/run/sailor-ingest.sock.stale: The file cannot be accessed by the system. (listener: The file cannot be accessed by the system.)
    

    The recorded stack traverses services.ListenUnix, services.ListenAndRun, and services.(*Services).startSailorRouter. The error dialog offers Quit and Reset to factory defaults. Neither repair action was used for this failure.

    Filesystem and permissions evidence

    Exact path with username sanitised:

    C:\Users\<USER>\AppData\Local\Docker\run\sailor-ingest.sock
    
    • The source exists, is zero bytes, and has Archive and ReparsePoint attributes. Hidden, System, and ReadOnly attributes are not present.
    • The exact destination sailor-ingest.sock.stale does not exist.
    • Parent run directory owner: the signed-in user. Parent Docker directory owner: BUILTIN\Administrators. Parent Local directory owner: the signed-in user.
    • Relevant parent directories retain enabled ACL inheritance. The signed-in user, NT AUTHORITY\SYSTEM, and BUILTIN\Administrators have Full Control; no explicit deny was observed. An additional local sandbox group has inherited read/execute permission.
    • Socket-specific owner and ACL could not be retrieved. They must not be inferred from the parent ACL.
    • A neighboring dockerInference socket shows the same inaccessible zero-byte reparse-point behavior.

    Read-only probes:

    Probe Result
    icacls on the source socket 0 files processed, 1 failed; file cannot be accessed
    fsutil reparsepoint query Error 1920
    Get-Acl Error 1920
    Restart Manager resource registration Succeeded
    Restart Manager RmGetList for socket Error 6, ERROR_INVALID_HANDLE; no reliable owner result
    Same Restart Manager probe on ordinary control file Succeeded, zero affected processes
    Read-only CreateFile with OPEN_REPARSE_POINT and BACKUP_SEMANTICS, sharing read/write/delete Error 1920; no handle obtained

    No file was opened for writing. No handle was forcibly closed. Installed tooling could not establish a precise handle owner; failed enumeration is not evidence of zero holders.

    Process, service, and security evidence

    • Before the controlled launch, Docker processes and the engine were stopped. After the later reboot and at diagnostic completion, Docker processes were absent and docker-desktop WSL2 was stopped.
    • com.docker.service is Manual, stopped, and configured as LocalSystem.
    • The failed Docker backend ran as the signed-in user, who has Full Control on the runtime parent directory.
    • Windows Defender is active and the only antivirus registered in Windows Security Center. This does not exclude an unregistered kernel filter.
    • Controlled Folder Access is disabled.
    • Around the failure (2026-09-04 14:21-14:26 UTC+01:00), no Defender threat/remediation or Controlled Folder Access block/audit event was found. One informational 5007 event changed ServiceStartStates during startup.
    • No warning/error appeared in the queried Code Integrity or AppLocker EXE/DLL and MSI/Script logs during that interval.
    • Application/System evidence did not identify a Docker-related security denial. Other events included queued historical Windows Error Reporting entries and unrelated DCOM/service warnings.
    • Filesystem minifilter enumeration was denied to the non-elevated diagnostic shell. No permissions or security settings were changed to bypass this.

    Diagnostics and investigation limits

    • Local diagnostic ID: 61703F3E-CA8A-4C09-8D54-7CFB3D598649.
    • Bundle SHA-256: AE6E2EFEEF416352A62C921703E9CD0FB4FC42D028B0CFD37646F242240D2E17.
    • The bundle was generated locally with the installed Docker-signed diagnostic collector and has NOT been uploaded. The ID is therefore not confirmation that Docker can retrieve it.
    • The collector reported missing backend, engine, service, DNS-forwarder, virtualization, and diagnostic pipes, consistent with Docker being unavailable. Some privileged Windows checks were inaccessible to the non-elevated collector.
    • The bundle is retained privately; it is not attached to this public report.
    • Classification: ROOT CAUSE PROBABLE. The inaccessible socket and fatal cleanup path are directly evidenced. Kernel locking, NTFS corruption, a specific driver defect, and responsibility for the underlying Windows behavior are not proven.

    No socket deletion, runtime-directory rename, reset, factory reset, reinstall, ACL change, or security change was attempted during this 4.89.0 failed cold-start investigation. Older stale-named entries already exist from earlier troubleshooting; this report does not claim that no historical recovery ever occurred. Existing Docker data must be preserved, and resource health cannot be freshly verified while the engine is unavailable.

    Questions for Docker

    1. Is this a known 4.89.0 regression or an incomplete fix, and does the advertised stale-socket fix cover sailor-ingest.sock and its rename-to-.stale path?
    2. Is Windows build 26200.9168 known to interact incorrectly with this AF_UNIX cleanup operation?
    3. Is quarantining the entire Docker\run directory while Docker is fully stopped officially safe for this version? If so, what prerequisites and rollback steps does Docker support?
    4. What supported repair preserves the existing containers, images, volumes, networks, and WSL data without factory reset or recreation?
    5. Does a newer internal, preview, or public build contain a corrective fix for this listener?
    6. What further diagnostic evidence is needed, and through which private Docker channel should it be supplied?

    References

    The related issue reports are community observations in Docker's official tracker. Their recovery suggestions are not treated here as vendor-endorsed repairs.

  5. bearberni commented on Sep 7, 2026

    @bearberni

    Additional controlled reproduction on Docker Desktop 4.89.0 (238018), Windows 11 Pro 25H2 26200.9168, WSL2 backend, Engine 29.7.2. Docker AI and Kubernetes were disabled.

    This adds a clean CLI stop/start case to the reports above, including a failure without an existing .stale destination.

    Reproduction observed on September 6, 2026

    1. Docker Desktop was running successfully; the engine responded and three existing containers were healthy.
    2. Ran docker desktop stop --timeout 45. It exited successfully.
    3. Verified zero Docker Desktop/backend processes and that the engine pipe was gone. Five runtime socket files remained.
    4. Started the installed Docker Desktop normally, without changing the runtime files.
    5. Startup failed in the Ingest server.

    There was no force-kill, WSL termination command, Windows restart, or cleanup between the healthy run and this failed restart. Earlier recovery of a previous crash had required preserving the runtime directories under new names; this is not a fresh-install reproduction.

    Sanitized error:

    starting services: initializing Ingest server:
    listening on unix://C:/Users/<user>/AppData/Local/Docker/run/sailor-ingest.sock:
    rename C:/Users/<user>/AppData/Local/Docker/run/sailor-ingest.sock
           C:/Users/<user>/AppData/Local/Docker/run/sailor-ingest.sock.stale:
    The file cannot be accessed by the system.
    (listener: The file cannot be accessed by the system.)
    

    Evidence and limits

    • Successful shutdown was captured at 22:06:58 UTC+08:00. The restarted backend logged cancellation at 22:07:00.890 and the crash at 22:07:02.669.
    • Both stopped and failed-start runtime-directory inventories showed no .stale entries. An already-existing rename destination does not explain this reproduction.
    • fsutil reparsepoint query also returned error 1920 for newly created sockets during a healthy Docker run. That probe alone is not evidence of socket corruption.
    • Preserving the two runtime directories by renaming them while Docker was stopped allowed recovery again. Container identities, image inventory, and volume inventory matched the first healthy recovery; all three containers became healthy.
    • No factory reset or persistent-data deletion was performed. This does not establish a particular Windows kernel defect or NTFS corruption. GUI Quit was not tested.

    The 4.89.0 release notes mention a fix for sockets left after ungraceful shutdown, but successful CLI shutdown is sufficient in this case.

    Could maintainers confirm whether a follow-up fix is planned, identify a target version/date if available, and advise whether a supported patch or runtime-directory recovery procedure exists that preserves persistent Docker data?

    Only this sanitized summary is being posted. Raw local logs and diagnostic archives have not been uploaded.

  6. a15310998170-dotcom commented on Sep 8, 2026

    @a15310998170-dotcom

    Additional reproduction: Desktop 4.90.0, including after a successful normal stop

    I can reproduce a closely related startup failure on Windows. One important difference from the original report: the most recent failure followed a successful normal docker desktop stop, not a forced termination or standby.

    Versions

    • Windows 11 x64, build 26200.
    • Docker Desktop and com.docker.backend.exe: 4.90.0.238679.
    • Docker Engine when running successfully: 29.7.2, Linux containers / WSL2 backend.
    • Reproduced the host socket failure with WSL 2.7.12.0 and also during a controlled WSL 2.6.3.0 compatibility test (kernel 6.6.87.2-microsoft-standard-WSL2). The original WSL 2.7.12.0 was restored after the experiment did not resolve the restart failure.

    Observed sequence

    1. With Desktop fully stopped, preserved the socket-only Docker/run and docker-secrets-engine directories by renaming their parent directories. No data disks or volumes were deleted.
    2. Started Desktop normally under WSL 2.6.3. docker version, docker info, and docker ps succeeded. Real PostgreSQL, Redis, object-storage and Celery queue checks passed; existing persisted test data remained readable.
    3. Ran docker desktop stop --timeout 45. It returned exit code 0. The backend recorded marlin stopped, and wsl --list --verbose reported docker-desktop as Stopped.
    4. Started Desktop normally again with docker desktop start --detach.
    5. Startup failed in the Windows-host Ingest service while renaming sailor-ingest.sock to .stale, before the WSL guest startup stage. Both docker version and docker ps then returned exit code 1; the Linux Engine named pipe was unavailable.

    Error (user path redacted)

    starting services: initializing Ingest server: listening on
    unix://C:/Users/<USER>/AppData/Local/Docker/run/sailor-ingest.sock:
    rename C:/Users/<USER>/AppData/Local/Docker/run/sailor-ingest.sock
    C:/Users/<USER>/AppData/Local/Docker/run/sailor-ingest.sock.stale:
    The file cannot be accessed by the system.
    

    Earlier startups also failed on the sibling host component docker-secrets-engine/engine.sock. Renaming the socket-only parent directories allowed one successful startup, but was not a durable fix.

    Read-only checks

    • fsutil reparsepoint query on the affected socket returned Windows error 1920 (ERROR_CANT_ACCESS_FILE).
    • A read-only CreateFileW probe with desired access 0, share mode 7, OPEN_EXISTING, and FILE_FLAG_OPEN_REPARSE_POINT also returned error 1920.
    • The parent directory was an ordinary directory, not a junction or symlink; its ACL was readable. The affected socket entries were zero-byte reparse-point entries. Their attributes alone are not evidence of corruption.
    • The volume reported NTFS / Healthy / OK. That does not establish or exclude a lower-level filesystem problem.

    The host-socket failure is reproducible across the two tested WSL versions; I cannot establish whether its underlying cause is in Docker's host socket lifecycle, Windows AF_UNIX handling, or another component. I am not claiming a confirmed NTFS/AFD defect.

    The 4.90.0 release notes mention a fix for startup failure after an ungraceful shutdown leaves a stuck socket. Is this Ingest-server / normal-stop case covered by that fix? Is there a supported non-destructive recovery or a targeted diagnostic for this case?

    This report intentionally includes only versions, sanitized errors, and reproduction observations. No diagnostic bundle, configuration, credentials, project source, or data is attached.

  7. PluginsKers commented on Sep 11, 2026

    @PluginsKers

    Independent reproduction on Docker Desktop 4.90.0 (238679), including after a successful normal CLI shutdown.

    Environment: Windows 11 Pro 25H2, build 26200.9445, x64; WSL 2.6.3.0, kernel 6.6.87.2-1; WSL2 backend; Docker Engine 29.7.2 when running. Desktop and com.docker.backend.exe both report 4.90.0.238679. Desktop auto-start is disabled.

    Observed twice on this affected machine on 2026-09-11:

    1. With Desktop stopped, rename the socket-only %LOCALAPPDATA%\Docker\run and %LOCALAPPDATA%\docker-secrets-engine directories and let Desktop recreate them.
    2. Start Desktop. docker --context desktop-linux info succeeds. An existing local alpine:3.22 image runs /bin/echo successfully with --rm --pull=never --network none.
    3. Run docker desktop stop --timeout 60. It exits 0; the CLI log reports no docker processes running.
    4. Start the installed Desktop executable again without changing the runtime files. Startup fails in the Ingest server and the Linux Engine pipe is unavailable.

    No force-kill, sleep or Windows reboot occurred between the healthy run and failed restart in either cycle. This is a reproduction on an existing affected installation, not a fresh-install test.

    In the second cycle, the CLI logged no Docker processes at 07:30:01 UTC, the installed executable was launched at 07:30:09 UTC, and the backend logged this crash at 07:30:13.474 UTC. The username is redacted:

    starting services: initializing Ingest server: listening on unix://C:/Users/<USER>/AppData/Local/Docker/run/sailor-ingest.sock: rename C:/Users/<USER>/AppData/Local/Docker/run/sailor-ingest.sock C:/Users/<USER>/AppData/Local/Docker/run/sailor-ingest.sock.stale: The file cannot be accessed by the system. (listener: The file cannot be accessed by the system.)
    

    After the failure, fsutil reparsepoint query returned error 1920, including after wsl --shutdown. This does not establish NTFS corruption or a specific driver defect. Renaming both runtime-only directories restored the engine and the container smoke check again; existing containers and images remained available. That recovery did not fix the next stop/start cycle.

    A possible follow-up to investigate is recovery in the shared host socket startup path: if individual socket cleanup fails with error 1920, quarantine only the known runtime-only directories under exclusive Desktop ownership, before any listeners bind, and recreate them. Renaming a directory after sibling listeners have started would need to be avoided. The normal CLI stop/start cycle above should be a regression check. This is a proposal, not a validated code fix.

    I could not find the backend implementation in this feedback repository. If the responsible component is public, please point me to it so I can investigate a targeted PR.

  8. tasosbeast commented on Sep 14, 2026

    @tasosbeast

    Reproduced on Docker Desktop 4.91.0 after a normal, controlled shutdown.

    Environment:

    • Docker Desktop: 4.91.0.239619
    • Docker Engine: 29.8.0
    • Windows 11 Home 10.0.26200, build 26200
    • WSL: 2.6.3.0
    • WSL kernel: 6.6.87.2-1
    • Backend: WSL2

    Reproduction:

    1. Docker Desktop 4.91.0 was running normally.
    2. Stopped it cleanly using docker desktop stop.
    3. Started it again using docker desktop start.
    4. Docker Desktop crashed with:

    starting services: initializing Ingest server: listening on unix://C:/Users/<user>/AppData/Local/Docker/run/sailor-ingest.sock: rename .../sailor-ingest.sock .../sailor-ingest.sock.stale: The file cannot be accessed by the system.

    The issue therefore persists in 4.91.0 and can occur after a normal controlled stop, not only after an unclean shutdown.

    The existing workaround still works:

    • stop Docker processes
    • rename %LOCALAPPDATA%\Docker\run
    • rename %LOCALAPPDATA%\docker-secrets-engine
    • recreate both directories
    • start Docker Desktop

    Docker volumes and containers remain intact after applying the workaround.

  9. daviddach commented on Oct 4, 2026

    @daviddach

    Additional reproducible startup failure on Docker Desktop 4.91.0.239619, persisting after a Windows restart. This is an observed affected-installation sequence, not a clean-install reproduction or a confirmed root cause.

    Environment: Windows 11 Home 25H2, build 26200.9457; WSL 2.7.11.0, kernel 6.18.33.2-2, WSLg 1.0.73.2. Persistent Docker storage is configured on a separate local drive; the settings-file hash remained unchanged. Current Engine version cannot be verified while unavailable.

    Observed sequence (all times UTC, 2026-10-04):

    1. docker desktop stop --timeout 30 hung beyond its requested timeout. After verifying process identities, only the failed Desktop/backend process family was stopped. The containing runtime directories were inspected as ordinary, non-linked directories containing zero-length runtime endpoints, not persistent settings or data.
    2. Preserved %LOCALAPPDATA%/Docker/run by renaming it to a unique sibling, represented here as run.<quarantine-A>. One normal startup passed that endpoint, then failed at %LOCALAPPDATA%/docker-secrets-engine/engine.sock with the same rename-to-.stale access error at 02:02:53.
    3. After stopping the failed runtime, preserved the socket-only %LOCALAPPDATA%/docker-secrets-engine directory as docker-secrets-engine.<quarantine-B>. One normal startup then failed again at the recreated Docker/run/sailor-ingest.sock at 02:05:27. These were sequential directory changes with a startup between them, not a simultaneous two-directory recovery. No usable engine was established.
    4. Both quarantines remain. The first retains its six recorded entries. In the second, engine.sock remains but the previously recorded engine.sock.stale is no longer listed; the cause/time of that disappearance is unknown. A later normal shutdown command also timed out; its stalled command helpers were cancelled, leaving failed application processes present.
    5. Restarted Windows; verified boot time 05:07:23. No Desktop/backend processes or post-boot Desktop startup attempt were observed before one normal manual launch at 05:13:13. The backend failed at 05:13:14.874965900 with the error below and logged engines shutdown complete at 05:13:16.529642900. docker info could not find the dockerDesktopLinuxEngine pipe. Further attempts stopped.

    Error, with only the account-specific prefix replaced by %LOCALAPPDATA% and line breaks added:

    starting services: initializing Ingest server:
    listening on unix://%LOCALAPPDATA%/Docker/run/sailor-ingest.sock:
    rename %LOCALAPPDATA%/Docker/run/sailor-ingest.sock
    %LOCALAPPDATA%/Docker/run/sailor-ingest.sock.stale:
    The file cannot be accessed by the system.
    (listener: The file cannot be accessed by the system.)
    

    Application schedules/workers are paused. PostgreSQL was not started during these attempts; its last independent inspection showed stopped/exit0. Current container/volume health cannot be freshly verified without the engine. There is no demonstrated database corruption or confirmed Windows cause. No factory reset, purge/prune, reinstall, upgrade, WSL unregister, ACL change, volume replacement or database restore was performed.

    Could maintainers provide a supported recovery procedure preserving existing configuration, containers, volumes and database contents, and a supported way to stop this failed runtime when the normal stop command hangs? What minimum additional sanitized, read-only evidence would distinguish the causes? Any proposed procedure will be reviewed before execution.

    Diagnostics ID: none — no diagnostic bundle has been uploaded. Text only; no screenshots, raw logs, project files or private data attached.

  10. ctalledo commented on Oct 7, 2026

    @ctalledo
    Collaborator

    Duplicate of #460.

    Should be fixed in DD 4.92.

  11. bearberni commented on Oct 14, 2026

    @bearberni

    Follow-up to my earlier report: #554 (comment)

    I verified the previously failing normal stop/start case on Docker Desktop 4.95.0 (242831), Engine 29.8.2, on this Windows host on 2026-10-12. It no longer reproduces here.

    1. docker desktop stop --timeout 60 returned exit code 0 (about 18.6 seconds).
    2. I verified that Desktop/backend processes had exited and the Linux engine pipe was absent.
    3. Without using any external script or manual action to rename, delete or recreate runtime directories or socket files, I ran docker desktop start --timeout 120. It returned exit code 0 (about 7.3 seconds), and the engine responded normally.

    Existing .stale entries were left untouched by the test. There was no force-kill, WSL shutdown, reset, reinstall or manual/scripted cleanup between stop and start; this does not make a claim about Docker's own internal startup cleanup. Existing Kubernetes workloads eventually became ready, with the checked resource/storage identities, settings and public certificate unchanged.

    This was one controlled normal stop/start cycle on an existing affected installation, not a test of forced termination, sleep/resume or a Windows restart. I have retired my project's automatic directory-renaming workaround for this installation. No raw logs, diagnostics, project data or personal paths are attached.

    Thank you for the fix and the version guidance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions