Skip to content

feat(scripts): add docker-unstick script for macOS - #165

Merged
wpfleger96 merged 2 commits into
mainfrom
wpfleger/docker-unstick
Aug 18, 2026
Merged

feat(scripts): add docker-unstick script for macOS#165
wpfleger96 merged 2 commits into
mainfrom
wpfleger/docker-unstick

Conversation

@wpfleger96

Copy link
Copy Markdown
Owner

Adds a docker-unstick user script that force-recovers Docker Desktop on macOS when its backend wedges.

Docker Desktop's backend processes can survive an engine crash in a half-alive state that ignores SIGTERM and blocks every relaunch attempt — the dock icon bounces but the app never opens. SIGKILL followed by a fresh launch is the only reliable recovery.

  • New src/shell_configs/scripts/system/docker-unstick: SIGKILLs com.docker*, Docker Desktop, and com.apple.Virtualization.VirtualMachine processes, verifies nothing survived, relaunches Docker.app, then polls docker ps for up to 120s and reports engine readiness
  • Registers the script in scripts.toml with platforms = ["macos"] so it deploys only on macOS systems

wpfleger96 and others added 2 commits August 18, 2026 11:01
Docker Desktop's backend processes (com.docker.*, Virtualization.VirtualMachine)
survive SIGTERM after an engine crash — the dock icon bounces but the app never
fully opens. SIGKILL is the only reliable way to clear the corpse; SIGTERM leaves
a zombie that blocks every subsequent relaunch attempt. This script kills all
Docker-related processes with SIGKILL, waits for them to fully exit, then relaunches
Docker.app and polls the engine for up to 120 seconds.
@wpfleger96
wpfleger96 merged commit 3d78003 into main Aug 18, 2026
7 checks passed
@wpfleger96
wpfleger96 deleted the wpfleger/docker-unstick branch August 18, 2026 15:05
wpfleger96 pushed a commit that referenced this pull request Aug 18, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.66.0](v0.65.0...v0.66.0)
(2026-08-18)


### Features

* **scripts:** add docker-unstick script for macOS
([#165](#165))
([3d78003](3d78003))


### Chores

* **deps:** Lock file maintenance
([#163](#163))
([a68048b](a68048b))
* **deps:** Lock file maintenance
([#164](#164))
([a6ba772](a6ba772))
* sync Justfile
([4554653](4554653))


### Continuous Integration

* sync CI workflow
([bfdcab2](bfdcab2))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

---------

Co-authored-by: wpfleger-release-bot[bot] <282999489+wpfleger-release-bot[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant