Answers for "truncate docker logs"

0

truncate docker logs

truncate -s 0 /var/lib/docker/containers/*/*-json.log

--or--

sudo sh -c "truncate -s 0 /var/lib/docker/containers/*/*-json.log"
Posted by: Guest on October-11-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language