Como limpar os logs do Docker-Compose
truncate -s 0 $(docker inspect --format='{{.LogPath}}' <container_name_or_id>)
Thoughtful Tuatara
truncate -s 0 $(docker inspect --format='{{.LogPath}}' <container_name_or_id>)
echo "" > $(docker inspect --format='{{.LogPath}}' <container_name_or_id>)