Skip to content

Instantly share code, notes, and snippets.

@Oats87
Last active October 8, 2019 20:32
Show Gist options
  • Save Oats87/a1d18b6c691e31f7944ce9a4d2161b56 to your computer and use it in GitHub Desktop.
Save Oats87/a1d18b6c691e31f7944ce9a4d2161b56 to your computer and use it in GitHub Desktop.
mkdir /etc/docker
cat << EOF > /etc/docker/daemon.json
{
"log-driver": "json-file",
"log-opts": {
"max-size": "10m",
"max-file": "6"
}
}
EOF
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment