feat(scripts): add docker-unstick script for macOS - #165
Merged
Conversation
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
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a
docker-unstickuser 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.
src/shell_configs/scripts/system/docker-unstick: SIGKILLscom.docker*,Docker Desktop, andcom.apple.Virtualization.VirtualMachineprocesses, verifies nothing survived, relaunchesDocker.app, then pollsdocker psfor up to 120s and reports engine readinessscripts.tomlwithplatforms = ["macos"]so it deploys only on macOS systems