查看docker日志路径
docker inspect --format='{{.LogPath}}' <container_name_or_id>
清理docker日志
echo |sudo tee $(docker inspect --format='{{.LogPath}}' <container_name_or_id>)
Docker Logs清理
阅读 37
2024-12-03
docker inspect --format='{{.LogPath}}' <container_name_or_id>
echo |sudo tee $(docker inspect --format='{{.LogPath}}' <container_name_or_id>)
相关推荐
精彩评论(0)