Cómo borrar los registros de 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>)