Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
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."
Copy link

aliuosio commented Aug 10, 2018

this hack does not work on Docker version 18.06.0-ce, build 0ffa825 for mac anymore. Have you heard of a new method?

thx in advance

Copy link

mityukov commented Nov 16, 2018

cd: no such file or directory: /Users/pilat/Library/Containers/com.docker.docker/Data/database/

Copy link

henriquecholo commented Nov 12, 2019

I'm here also trying to make my docker faster on Mac. The directory in my case was vms and not database but that only solves the amount of disk space and there is no git associated.

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