查看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>)
相关推荐