Sometimes are needs to remove logs for all containers, for example, when you not have enough disk space
sudo sh -c "truncate -s 0 /var/lib/docker/containers/*/*-json.log"
No comments:
Post a Comment