how to clear docker past logs code example Example: docker clean logs truncate -s 0 /var/lib/docker/containers/*/*-json.log;