Skip to content

Instantly share code, notes, and snippets.

@keepitsimple
Created August 13, 2018 16:08
Show Gist options
  • Select an option

  • Save keepitsimple/27e80ea52729050f7b0536247c5c8414 to your computer and use it in GitHub Desktop.

Select an option

Save keepitsimple/27e80ea52729050f7b0536247c5c8414 to your computer and use it in GitHub Desktop.
docker config file optimal configuration for Linux 4.x
# from here: https://sandro-keil.de/blog/2017/01/23/docker-daemon-tuning-and-json-file-configuration/
{
"storage-driver": "overlay2",
"graph": "/var/lib/docker",
"log-driver": "json-file",
"log-opts": {
"max-size": "10m",
"max-file": "2"
},
"debug": false,
"userns-remap": "1000:1000"
}
@keepitsimple
Copy link
Author

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