docker-daemon
Add the below lines in the /etc/docker/daemon.json
{
"log-driver": "json-file",
"log-opts": {
"max-size": "15m",
"max-file": "5"
}
}
Then run systemctl restart docker
Add the below lines in the /etc/docker/daemon.json
{
"log-driver": "json-file",
"log-opts": {
"max-size": "15m",
"max-file": "5"
}
}
Then run systemctl restart docker