Create a gist now

Instantly share code, notes, and snippets.

Docker for Mac fsync Perf Patch
# Tune fsync perf for docker mac per
# NB: You must be on Docker 1.12.2-rc1-beta27 or greater
cd ~/Library/Containers/com.docker.docker/Data/database/
git reset --hard
cat $f
echo "false" > $f
git add $f && git commit -s -m "Disable flushing"
echo "You should now restart Docker for Mac."
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment