Skip to content

Instantly share code, notes, and snippets.

@kmccarth
Last active August 3, 2017 15:58
Show Gist options
  • Save kmccarth/e85027da24fe01684b6768551c389bc4 to your computer and use it in GitHub Desktop.
Save kmccarth/e85027da24fe01684b6768551c389bc4 to your computer and use it in GitHub Desktop.

Faster Docker Locally

$ cd ~;
$ cd ~/Library/Containers/com.docker.docker/Data/database/;
$ git reset --hard; 
$ cat com.docker.driver.amd64-linux/disk/on-flush; # if you see drive, continue. If not, lmgtfy.
$ echo none > com.docker.driver.amd64-linux/disk/on-flush;
$ git add com.docker.driver.amd64-linux/disk/on-flush;
$ git commit -s -m "More Disable flushing"
  • Now restart Docker once more
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment