Docker Effacer les journaux des conteneurs
sudo sh -c "truncate -s 0 /var/lib/docker/containers/*/*-json.log"
CBT fan club
sudo sh -c "truncate -s 0 /var/lib/docker/containers/*/*-json.log"
truncate -s 0 /var/lib/docker/containers/*/*-json.log;
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