Docker for Mac fsync Perf Patch
#!/bin/bash | |
# Tune fsync perf for docker mac per | |
# https://github.com/docker/for-mac/issues/668 | |
# NB: You must be on Docker 1.12.2-rc1-beta27 or greater | |
cd ~/Library/Containers/com.docker.docker/Data/database/ | |
f="com.docker.driver.amd64-linux/disk/full-sync-on-flush" | |
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." |
This comment has been minimized.
This comment has been minimized.
mityukov
commented
Nov 16, 2018
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This comment has been minimized.
aliuosio commentedAug 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