1
0

Add logs about daemon.json

This commit is contained in:
nicolas.dorier
2018-12-06 22:19:11 +09:00
parent aea03efd64
commit 285b69ed8f

View File

@@ -300,6 +300,7 @@ echo "{
\"log-driver\": \"json-file\",
\"log-opts\": {\"max-size\": \"5m\", \"max-file\": \"3\"}
}" > /etc/docker/daemon.json
echo "Setting limited log files in /etc/docker/daemon.json"
systemctl restart docker
fi