Skip to content

Instantly share code, notes, and snippets.

@filipeandre
Last active May 2, 2018 11:32
Show Gist options
  • Save filipeandre/632b0eeef3f1ee6848632d0b004d431c to your computer and use it in GitHub Desktop.
Save filipeandre/632b0eeef3f1ee6848632d0b004d431c to your computer and use it in GitHub Desktop.
Docker log 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"
}
@filipeandre
Copy link
Author

In windows systems the userns-remap turns mounts unusable.

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