shell``` vim /etc/docker/daemon.json
{ "log-driver":"json-file", "log-opts": {"max-size":"500m", "max-file":"3"} }
systemctl daemon-reload systemctl restart docker
shell``` vim /etc/docker/daemon.json
{ "log-driver":"json-file", "log-opts": {"max-size":"500m", "max-file":"3"} }
systemctl daemon-reload systemctl restart docker