Created
February 6, 2022 14:08
-
-
Save oguzkaganeren/6fcfeed04a241cc5e4c38b5c4b3d4f14 to your computer and use it in GitHub Desktop.
Clear docker container log files
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo sh -c "truncate -s 0 /var/lib/docker/containers/*/*-json.log" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment