Skip to content

Instantly share code, notes, and snippets.

@sam0x17
Created May 15, 2026 14:26
Show Gist options
  • Select an option

  • Save sam0x17/9b54baf49195c698ed569193ad074b7f to your computer and use it in GitHub Desktop.

Select an option

Save sam0x17/9b54baf49195c698ed569193ad074b7f to your computer and use it in GitHub Desktop.
Fix docker upon restoring mac OS backup
# Quit Docker Desktop first, then:
rm -rf ~/Library/Containers/com.docker.docker/Data/vms
rm -rf ~/Library/Group\ Containers/group.com.docker/VirtualMachines

After restoring from a Mac OS backup, docker desktop will frequently present this error on startup:

running engines: recovering from engine crash: service containerd failed: panic detected in containerd: panic: assertion failed: Page expected to be: 1439, but self identifies as 0

To fix, run the script

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