Docker Logs清理
查看docker日志路径
docker inspect --format='{{.LogPath}}' <container_name_or_id>
清理docker日志
echo |sudo tee $(docker inspect --format='{{.LogPath}}' <container_name_or_id>)
喜欢请赞赏一下啦^_^
docker inspect --format='{{.LogPath}}' <container_name_or_id>
echo |sudo tee $(docker inspect --format='{{.LogPath}}' <container_name_or_id>)