Docker usuwa dzienniki
echo "" > $(docker inspect --format='{{.LogPath}}' <container_name_or_id>)
Ervinne Sodusta
echo "" > $(docker inspect --format='{{.LogPath}}' <container_name_or_id>)
find /var/lib/docker/containers/ -type f -name "*.log" -delete
choose your style
> /var/lib/docker/containers/*/*-json.log
cat /dev/null > /var/lib/docker/containers/*/*-json.log
echo "" > /var/lib/docker/containers/*/*-json.log