Skip to content

Instantly share code, notes, and snippets.

@felixge
Created November 11, 2016 08:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save felixge/7143d900bdca1c91bba37796113782fe to your computer and use it in GitHub Desktop.
Save felixge/7143d900bdca1c91bba37796113782fe to your computer and use it in GitHub Desktop.
#!/usr/bin/env bash
# see https://github.com/docker/for-mac/issues/668
set -eu
cd ~/Library/Containers/com.docker.docker/Data/database/
git reset --hard
echo false > com.docker.driver.amd64-linux/disk/full-sync-on-flush
git add com.docker.driver.amd64-linux/disk/full-sync-on-flush
git commit -s -m "Unfucked docker"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment