这玩意属于粗暴玩法,要确定日志没用才能搞
truncate -s 0 /var/lib/docker/containers/*/*-json.log
出处: https://stackoverflow.com/a/43570083
# NOTE: I am not responsible for any expired content.
[email protected]:27:34+08:00
[email protected]:34:40+08:00
[email protected]://github.com/ferstar/blog/issues/25